/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlProcessor.java
if ( ( node.getChildNodes( ) ) != null) {   for ( int i = 0; i < ( node.getChildNodes( ).getLength( ) ) ; i++) {     addTextNodesToRemoveAndTrim( toRemove, node.getChildNodes( ).item( i) ) ;   } }
[Delete]
} if (text.getData().length() == 0) { toRemove.add(node); } } if (node.getChildNodes() != null) { <extra_id_0> addTextNodesToRemoveAndTrim(toRemove, node.getChildNodes().item(i)); } } } final Node toXml(String defaultNamespaceUri, String xml) throws org.xml.sax.SAXException { DocumentBuilder builder = null;