Пример #1
0
 /**
  * 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());
 }
Пример #2
0
 /** Is the given schema definition valid? */
 public boolean isSchemaValid() {
   return validator.validateSchema().isValid();
 }