This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: DTD and Validation
It's not a secret anymore!