JDOMException when parsing DOCTYPE element
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Isaac_Lopez
Posted On:   Tuesday, September 4, 2001 02:00 PM

I´m working with an XML file that has the next DOCTYPE declaration :

The problem is that when I try to generate a JDOM document I get an JDOMException but when I remove this element I don´t have any problem. What is happening?

Re: JDOMException when parsing DOCTYPE element

Posted By:   Christopher_Pickslay  
Posted On:   Tuesday, September 4, 2001 02:26 PM

It's possible that your XML document isn't validating against the DTD. Try calling getCause().getMessage() or printStackTrace() on your JDOMException object to get a better idea what the root cause of the exception is.
About | Sitemap | Contact