Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes XML and Related Technologies and the fly likes DTD reference and validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "DTD reference and validation" Watch "DTD reference and validation" New topic

DTD reference 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?
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
This is really a basic XML question so I'm moving it from "Web Services" to XML, DOM and SAX...

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I agree. Here's the link:
subject: DTD reference and validation
It's not a secret anymore!