/** * Obtain a list of all errors in the schema defintion. * * <p>The list contains {@link org.xml.sax.SAXParseException SAXParseException} s. */ public List<SAXParseException> getSchemaErrors() { return problemToExceptionList(validator.validateSchema().getProblems()); }
/** Is the given schema definition valid? */ public boolean isSchemaValid() { return validator.validateSchema().isValid(); }