static String scanPublicID(StringBuilder publicID, StdXMLReader reader) throws IOException, XMLParseException {
    if (!checkLiteral(reader, "UBLIC")) {
      return null;
    }

    skipWhitespace(reader, null);
    publicID.append(scanString(reader, '\0', null));
    skipWhitespace(reader, null);
    return scanString(reader, '\0', null);
  }
static String scanPublicID(StringBuilder publicID, StdXMLReader reader)