code: void printError(String type, SAXParseException e) {
          PrintWriter logger = new PrintWriter(System.out);
          logger.print(type);
          if (e.getLineNumber() >= 0) {
              logger.print(" at line " + e.getLineNumber());
              if (e.getColumnNumber() >= 0) {
                  logger.print(", column " + e.getColumnNumber());
              }
              if (e.getSystemId() != null) {
                  logger.print(" of " + e.getSystemId());
              }
          } else {
              if (e.getSystemId() != null) {
                  logger.print(" in " + e.getSystemId());
              }
          }
          logger.println(":");
          logger.println("  " + e.getMessage());
          logger.flush();
      }
docs: Prints the error to STDOUT, used to be consistent with TEAM Engine error
  handler.