#22 [xhtml]
Create Parses with Schema Validation
Just call 'newSAXParser':
SAXParser parser = pfactory.newSAXParser();
To turn on schema validation, you need to set a property:
parser.setProperty( "http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema" );