Skip to Main Content

New to Java

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!

Problem in parsing XML...

807601Apr 1 2008 — edited Apr 18 2008
Hi to Everyone ...
This is my first forum post...i am in my final year project work
I have a problem while parsing. i am converting a ill-formated HTML to XML. then parsing it using DOM parser.it shows me an **Error**: Exception in thread "main" org.xml.sax.SAXParseException: Element type "meta" must be followed by either attribute specifications, ">" or "/>".
but the meta has the correct form of close tag eg., <meta attribute..... />
also if it parsed meta correctly then i have another **Error**: Exception in thread "main" org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
pls guide me ...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2008
Added on Apr 1 2008
8 comments
311 views