static void errorUnexpectedEntity(String systemID, int lineNr, String entity) throws XMLParseException {
    throw new XMLParseException(systemID, lineNr, "No entity reference is expected here (" + entity + ")");
  }
static void errorUnexpectedEntity(String systemID, int lineNr, String entity)