/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
xmlName.setAttributeName();
if ( !xmlName.isAttributeName ( ) ) { xmlName.setAttributeName ( ) ; }
} @Override public Ref nameRef( Context cx, Object namespace, Object name, Scriptable scope, int memberTypeFlags) { XMLName xmlName = XMLName.create(toNodeQName(cx, namespace, name), false, false); if ((memberTypeFlags & Node.ATTRIBUTE_FLAG) != 0) { <extra_id_0> } return xmlPrimaryReference(cx, xmlName, scope); } }