static String read(StdXMLReader reader, char entityChar) throws IOException {
    char ch = reader.read();
    StringBuilder buf = new StringBuilder();
    buf.append(ch);

    if (ch == entityChar) {
      while (ch != ';') {
        ch = reader.read();
        buf.append(ch);
      }
    }

    return buf.toString();
  }
static String read(StdXMLReader reader, char entityChar)