static void errorInvalidEntity(String systemID, int lineNr, String entity) throws XMLParseException {
    throw new XMLParseException(systemID, lineNr, "Invalid entity: `&" + entity + ";'");
  }
static void errorInvalidEntity(String systemID, int lineNr, String entity)