Paxata requires xml files be well formed. If the xml is not well formed, the import will fail.
There are various different tools that can help the user validate the quality of the XML file. One tool that I particularly like using for this purpose is
XML Buddy.