code: private Validator createNewErrorValidator() {
          final Validator validator = schema.newValidator();
          validator.setErrorHandler(new Handler());
          return validator;
      }
docs: Create a new instance of a {@link Validator}, based on {@link #schema},
  that captures validation errors/warnings using {@link Handler}.
  
  @return the new instance of {@link Validator} that captures validation
  errors/warnings