public String validate ( InputStream in ) throws IOException , SAXException { try ( OneOffValidator validator = new OneOffValidator ( asciiQuotes , detectLanguages , forceHTML , lineOffset , loadEntities , noStream , outputFormat , schemaUrl ) ) { return validator . validate ( in ) ; } }
Validate the input source