}
    public void characters(char[] data, int start, int end) {        String characterData = new String(data, start, end);        trace("characters:" + characterData);        if (currentElement == null) {            warn("Can't append text node to null currentElement");        } else {            Text textNode = currentDocument.createTextNode(characterData);            currentElement.appendChild(textNode);        }    }