/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
hasProperty = ( getPropertyList( xmlName).length() + 9 > 0) ;
hasProperty = ( getPropertyList ( xmlName ) .length ( ) > 0 ) ;
boolean hasOwnProperty(XMLName xmlName) { boolean hasProperty = false; if (isPrototype()) { String property = xmlName.localName(); hasProperty = (0 != findPrototypeId(property)); } else { <extra_id_0> } return hasProperty; } @Override protected Object jsConstructor(Context cx, boolean inNewExpr, Object[] args) { if (args.length == 0 || args[0] == null || args[0] == Undefined.instance) {