/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
if ( otherList.length( ) != length( ) ) {
if ( otherList.length ( ) == length ( ) ) {
if (target instanceof Undefined && length() == 0) { result = true; } else if (length() == 1) { result = getXmlFromAnnotation(0).equivalentXml(target); } else if (target instanceof XMLList) { XMLList otherList = (XMLList) target; <extra_id_0> result = true; for (int i = 0; i < length(); i++) { if (!getXmlFromAnnotation(i).equivalentXml(otherList.getXmlFromAnnotation(i))) { result = false; break; }