wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Checking XML against DTD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Checking XML against DTD" Watch "Checking XML against DTD" New topic
Author

Checking XML against DTD

I Ritchie
Greenhorn

Joined: Sep 14, 2003
Posts: 7
Hi,
Is there a class within the Java API that will allow me to check whether an XML Document conforms to a DTD?
Thanks in advance.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
This ("how to validate an XML document against DTD") has been asked before. Many times. If you'll search this forum, you'll find plenty of answers to your question.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
 
subject: Checking XML against DTD