Two Laptop Bag
The moose likes XML and Related Technologies and the fly likes Validation of xml file using dtd in java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Validation of xml file using dtd in java" Watch "Validation of xml file using dtd in java" New topic
Author

Validation of xml file using dtd in java

Jayant Tripathi
Greenhorn

Joined: Jan 21, 2008
Posts: 2
can you please provide me a raw code for validating xml file with dtd and xsd in java.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
Welcome to JavaRanch!

The XML and Related Technologies forum would be the more appropriate venue for this question. Anyway,

How To Validate Xml Against Any Schema

DTD Validation


Easy and Efficient XML Processing: Validate XML against Any Schema

Processing XML with Java: Chapter 7. The XMLReader Interface; A SAX program that validates documents


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Validation of xml file using dtd in java
 
Similar Threads
Validation of xml file using dtd in java
Doubt Reg Jsp File Translation
Check the Validity of XML document through Java
I need to Java code to validate xml file against dtd
xml validation agains xsd