src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/DOMBuilder.java [645:659]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public void cdata(char ch[], int start, int length)
      throws org.xml.sax.SAXException {
    if (isOutsideDocElem()
        && XMLCharacterRecognizer.isWhiteSpace(ch, start, length))
      return; // avoid DOM006 Hierarchy request error

    String s = new String(ch, start, length);

    // XXX ab@apache.org: modified from the original, to accomodate TagSoup.
    Node n = m_currentNode.getLastChild();
    if (n instanceof CDATASection)
      ((CDATASection) n).appendData(s);
    else if (n instanceof Comment)
      ((Comment) n).appendData(s);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/plugin/parse-html/src/java/org/apache/nutch/parse/html/DOMBuilder.java [643:657]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public void cdata(char ch[], int start, int length)
      throws org.xml.sax.SAXException {
    if (isOutsideDocElem()
        && XMLCharacterRecognizer.isWhiteSpace(ch, start, length))
      return; // avoid DOM006 Hierarchy request error

    String s = new String(ch, start, length);

    // XXX ab@apache.org: modified from the original, to accomodate TagSoup.
    Node n = m_currentNode.getLastChild();
    if (n instanceof CDATASection)
      ((CDATASection) n).appendData(s);
    else if (n instanceof Comment)
      ((Comment) n).appendData(s);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



