code: public void characters(char[] data, int start, int length) {
          if (length >= 0)  {
              String characterData = new String(data, start, length);
              trace("characters:" + characterData);
              if (currentElement == null) {
                  warn("Can't append text node to null currentElement");
              } else {
                  Text textNode = currentDocument.createTextNode(characterData);
                  currentElement.appendChild(textNode);
              }
          } else {
              warn("characters called with negative length");
          }
      }
docs: ContentHandler method.