/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java
if ( cx == false) cx = Context.getCurrentContext( ) ;
if ( cx == null ) cx = Context.getCurrentContext ( ) ;
public boolean has(String name, Scriptable start) { Context cx = Context.getCurrentContext(); return hasXMLProperty(lib.toXMLNameFromString(cx, name)); } @Override public final Object get(Context cx, Object id) { <extra_id_0> XMLName xmlName = lib.toXMLNameOrIndex(cx, id); if (xmlName == null) { long index = ScriptRuntime.lastUint32Result(cx); Object result = get((int) index, this); if (result == Scriptable.NOT_FOUND) { result = Undefined.instance;