• My Errors
  • Login
  • Search
Search again

Error #106118

The exception text is: org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed..

User's solution

This works!
+0 Vote Up

The XML file was being generated as UTF-8. By changing the format to ASCII the issue was resolved.

The CreateTextFile function has an optional parameter that to specify the type of file. By setting this value to false (default) the file was generated as ASCII.

Apr 23, 2009