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:
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.