/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlProcessor.java
if ( node | Text) {
if ( node instanceof Text ) {
for (int i = 0; i < node.getChildNodes().getLength(); i++) { addProcessingInstructionsTo(list, node.getChildNodes().item(i)); } } } private void addTextNodesToRemoveAndTrim(List<Node> toRemove, Node node) { <extra_id_0> Text text = (Text) node; boolean BUG_369394_IS_VALID = false; if (!BUG_369394_IS_VALID) { text.setData(text.getData().trim()); } else { if (text.getData().trim().length() == 0) {