/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java
if ( this instanceof XML) {
if ( proto instanceof XMLObject ) {
@Override public Object getFunctionProperty(Context cx, String name) { if (isPrototype()) { return super.get(name, this); } else { Scriptable proto = getPrototype(); <extra_id_0> return ((XMLObject) proto).getFunctionProperty(cx, name); } } return NOT_FOUND; } @Override