Technote Details :: When importing an XML file I get an `XML source is invalid` message

Issue

When I import information from an XML file using XML Import-Export I get an error message saying:

Invalid XML file

Reason

This happens because there is an error in the XML structure. The line mentioned in the error message is not the wrong one, but the one where the parser detected it (usually where the parent tag is closed).

Solution

In order to make the export operation work, you must ensure that the XML file has a correct format. To check the XML syntax use one of the XML validators available.

You can find online validators for XML documents on the web, to validate the schema and the syntax.


Home > Support > Knowledge Base > Technote Details
Search the Knowledge Base
© Adobe Systems Romania. All rights reserved.