Page 1 of 1

I have a problem

Posted: Wed Jan 17, 2024 10:05 am
by Pecassoo
I am creating an XML in .net using XmlTextWriter to attach as a file in Dynamics.

When I try to test the file I get the error - Unable to parse any XML input. Error on line 1: The markup in the document preceding the root element must be well-formed.

If I open the file in notepad++ and copy and paste the contents into a new text file and save as a new XML file, the new XML file does not return the error.

Thanks.

Re: I have a problem

Posted: Wed Jan 17, 2024 10:22 am
by Radu
Hi,
So you open an XML document in Oxygen XML Editor and you get an error reported, correct?
Could you maybe prepare a sample XML file exhibiting the problem, zip it and send it to us (support@oxygenxml.com)? This would give us more details about the contents of the file.
Regards,
Radu