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