private void readContent(/*Element element*/
  ) throws ParseException, IOException {
    readPossibleCharData(/*element*/
    );
    boolean keepGoing = true;
    while (keepGoing) {
      if (isETag())
        keepGoing = false;
      else if (isReference()) {
        // appendText( element, readReference() );
        char ref[] = readReference();
        handler_.characters(ref, 0, ref.length);
      } else if (isCdSect())
        readCdSect(
        /*element*/
        );
      else if (isPi())
        readPi();
      else if (isComment())
        readComment();
      else if (isChar('<'))
        readElement(
        /*element*/
        );
      else
        keepGoing = false;
      readPossibleCharData(/*element*/
      );
    }

  }