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