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