public static SAXParser newSAXParser ( String schemaLanguage , File schema ) throws SAXException , ParserConfigurationException { return newSAXParser ( schemaLanguage , true , false , schema ) ; }
Factory method to create a SAXParser configured to validate according to a particular schema language and a File containing the schema to validate against . The created SAXParser will be namespace - aware and not validate against DTDs .