File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes DTD and Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "DTD and Validation" Watch "DTD and Validation" New topic

DTD and Validation

Kev D'Arcy
Ranch Hand

Joined: Jul 26, 2001
Posts: 75
I'm using JDOM as my parser (using the default Xerces parser as the driver), and even when I have validation turn off, it still seems to be performing validation. There is a DTD reference in each XML request I process, and it always seem to access it even if I have validation turned off. Any ideas as to why or how I can get it to completely bypass the DTD without removing the DTD reference from the XML string?
timothy zimmerman
Ranch Hand

Joined: Jun 26, 2001
Posts: 149
Are you getting exceptions? If so what are they? I coudln't tell you off the top of my head what the problem is but if I had more info I might be able to help.
I agree. Here's the link:
subject: DTD and Validation