code: @Override
      public List<ValidationError> validateWithErrors(String s) {
          List<SAXParseException> saxErrors;
          try {
              saxErrors = xv.validateWithErrors(s);
          } catch (SAXException e) {
              // TODO This isn't the intended design here
              throw new RuntimeException(e);
          } catch (IOException e) {
              // TODO This isn't the intended design here
              throw new RuntimeException(e);
          }
  
          List<ValidationError> ret = sizedArrayList(saxErrors.size());
          for (final SAXParseException saxError : saxErrors) {
              final String name = saxError.getSystemId();
              final String msg = saxError.getMessage();
              final int line = saxError.getLineNumber();
              final int column = saxError.getColumnNumber();
              ret.add(new ValidationError(name, msg, saxError, line, column));
          }
          return ret;
      }
docs: {@inheritDoc}