This week's book / license giveaways are in the JDBC and Relational Databases and Java in General forums.
We're giving away four copies each of PostGIS in Action and Java Advanced Topics Training and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes DTD Validation with SAX? 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 Validation with SAX?" Watch "DTD Validation with SAX?" New topic
Author

DTD Validation with SAX?

Joshua White
Ranch Hand

Joined: Jun 04, 2001
Posts: 97
I would like to read an external xml file but validate it based on a dtd that is on my classpath. How do you do this?

Regards,

Joshua
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Joshua, meet EntityResolver. EntityResolver, meet Joshua.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DTD Validation with SAX?