code: public static SAXParser newSAXParser(String schemaLanguage, boolean namespaceAware, boolean validating, File schema) throws SAXException, ParserConfigurationException {
          SchemaFactory schemaFactory = SchemaFactory.newInstance(schemaLanguage);
          return newSAXParser(namespaceAware, validating, schemaFactory.newSchema(schema));
      }
docs: Factory method to create a SAXParser configured to validate according to a particular schema language and
  a File containing the schema to validate against.
  
  @param schemaLanguage the schema language used, e.g. XML Schema or RelaxNG (as per the String representation in javax.xml.XMLConstants)
  @param namespaceAware will the parser be namespace aware
  @param validating     will the parser also validate against DTDs
  @param schema         a file containing the schema to validate against
  @return the created SAXParser
  @throws SAXException
  @throws ParserConfigurationException
  @since 1.8.7