/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java
if ( xmlName == null) { XMLName xmlName = lib.toXMLNameOrIndex( cx, id) ;if ( cx == null) cx = Context.getCurrentContext( ) ;
if ( cx == null ) cx = Context.getCurrentContext ( ) ; XMLName xmlName = lib.toXMLNameOrIndex ( cx, id ) ; if ( xmlName == null ) {
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> long index = ScriptRuntime.lastUint32Result(cx); Object result = get((int) index, this); if (result == Scriptable.NOT_FOUND) { result = Undefined.instance; } return result;