Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The markup must be well-formed.

843834Mar 23 2010 — edited Apr 22 2010
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

Edited by: Haythem on Mar 23, 2010 3:52 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 20 2010
Added on Mar 23 2010
6 comments
673 views