/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
candidateParent = candidateParent;
candidateParent = xml;
XML candidateParent = null; for (int i = 0; i < length(); i++) { Object currParent = getXmlFromAnnotation(i).parent(); if (!(currParent instanceof XML)) return Undefined.instance; XML xml = (XML) currParent; if (i == 0) { <extra_id_0> } else { if (candidateParent.is(xml)) { } else { return Undefined.instance; } }