Content is not allowed in prolog

0
Import XML action which converts from a filedocument content to Domain model objects is throwing the below error le: org.xml.sax.SAXParseException: Content is not allowed in prolog. at SFTPConnection.IVKSaveFiles (ImportXML : 'Import XML document ALEAUDXML') Advanced stacktrace: at mv.a(SourceFile:185) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: org.xml.sax.SAXParseException: Content is not allowed in prolog. at od.a(SourceFile:226) Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
asked
3 answers
0

Your filedocument is probably not a valid filedocument. You could open the file document to check if it is well formed.

answered
4

Your source XML file probably contains characters before the actual XML contents. These could be whitespace characters.

answered
2

Just a quick Google search: http://stackoverflow.com/questions/4569123/content-is-not-allowed-in-prolog-saxparserexception

answered