/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
if ( target instanceof XMLList) {
if ( target instanceof XML ) {
return false; } } @Override boolean equivalentXml(Object target) { boolean result = false; <extra_id_0> return this.node .toXmlString(getProcessor()) .equals(((XML) target).node.toXmlString(getProcessor())); } else if (target instanceof XMLList) { XMLList otherList = (XMLList) target; if (otherList.length() == 1) {