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