private static Reader openExternalEntity(StdXMLReader xmlReader, String publicID, String systemID) throws XMLParseException {
    String parentSystemID = xmlReader.getSystemID();
    try {
      return xmlReader.openStream(publicID, systemID);
    }
    catch (Exception e) {
      throw new XMLParseException(parentSystemID, xmlReader.getLineNr(), "Could not open external entity " + "at system ID: " + systemID);
    }
  }
private static Reader openExternalEntity(StdXMLReader xmlReader, String publicID, String systemID)