/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
throw badXMLName ( nameValue ) ;
} else if (nameValue instanceof QName) { return XMLName.create(((QName) nameValue).getDelegate(), true, false); } else if (nameValue instanceof Boolean || nameValue instanceof Number || nameValue == Undefined.instance || nameValue == null) { <extra_id_0> } else { String localName = null; if (nameValue instanceof String) { localName = (String) nameValue; } else { localName = ScriptRuntime.toString(nameValue);