First of all, let me say that I am new to SAX and Java.
I am trying to read information from an XML file that is not generated.
When I try to use SAX or DOM Parser, I get the following error in the answer:
The markup in the document following the root element must be well-formed.
This is how I set up my XML file:
<format type="filename" t="13241">0;W650;004;AG-Erzgeb</format> <format type="driver" t="123412">001;023</format> ...
Can I get SAX or DOM to parse XML files, even if they are poorly formed XML?
Thank you for your help. Very grateful. Haythem
java xml sax
Haythem
source share