my dog learned polymorphism
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 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 ?
 
 
subject: SAX parser and validation
 
It's not a secret anymore!