Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I exported XML and tried to import it on other site and got this errors:
Failed to parse file: Reserved XML Name at line 3.
Warning: max() [function.max]: Array must contain at least one element in taxonomy_xml_xml_parse() (line 229 of ...\sites\all\modules\taxonomy_xml\formats\xml_format.inc).
Warning: max() [function.max]: Array must contain at least one element in taxonomy_xml_xml_parse() (line 229 of ...\sites\all\modules\taxonomy_xml\formats\xml_format.inc).
Failed to import any new terms. This may be due to syntax or formattings errors in the import file.
Comment | File | Size | Author |
---|---|---|---|
#2 | taxonomy_countries.xml_.xml_.zip | 3.43 KB | clashar |
Comments
Comment #1
dman CreditAttribution: dman commentedhm?
Can you attach the file that produced the warning
> Failed to parse file: Reserved XML Name at line 3.
Not sure what would be triggering that. It may help if you provided some version nunbers (PHP,DOM etc) too.
Comment #2
clashar CreditAttribution: clashar commentedI hope it could help:
php 5.3.8
XAMPP
Apache 2.2.21 (Win32)
dom settings from info.php:
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.7.7
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled