/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
if ( nameValue instanceof String ) { local = ( String ) nameValue; } else { local = ScriptRuntime.toString ( nameValue ) ; }
|| nameValue instanceof Number || nameValue == Undefined.instance || nameValue == null) { throw badXMLName(nameValue); } else { String local = null; <extra_id_0> return toNodeQName(cx, local, attribute); } } @Override public boolean isXMLName(Context _cx, Object nameObj) { return XMLName.accept(nameObj);