The markup must be well-formed

Posted by Haythem on Stack Overflow See other posts from Stack Overflow or by Haythem
Published on 2010-03-23T11:19:59Z Indexed on 2010/03/23 11:23 UTC
Read the original article Hit count: 276

Filed under:

Hi,

I am beginer in SAX and Java.

I am tring to read Information from not well formed XML File.

When I try to use SAX or DOM Parser then I have this error:

The markup in the document following the root element must be well-formed.

My XML File looks like this:

<format type="filename" t="13241">0;W650;004;AG-Erzgeb</format>
<format type="driver" t="123412">001;023</format>
   ...

Can I force SAX or DOM to parse not well-formed XML files?

Thank you for your help. Haythem

© Stack Overflow or respective owner

Related posts about well-formed