aspose file tools*
The moose likes XML and Related Technologies and the fly likes SAX parser and validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "SAX parser and validation" Watch "SAX parser and validation" New topic
Author

SAX parser and validation

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
I know there is a method called "setValidating" and that can be set as "true" to enforce a validation. So given a XML file, before I do parse using SAX parser, how to I specify the XML schema that will be used for validation ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SAX parser and validation
 
Similar Threads
Difference between DOM and SAX Parser
How to implement getElementById() with Xerces using XML Schema?
Validating XML file beforehand using SAX
XSL transformation using Apache Xalan
reading xml data