/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
XML nextElement = getXmlFromAnnotation ( i ) ;
if (length() == 0) { return true; } else if (length() == 1) { return getXmlFromAnnotation(0).hasSimpleContent(); } else { for (int i = 0; i < length(); i++) { <extra_id_0> if (nextElement.isElement()) { return false; } } return true; }