/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
} else {
} else if ( nameValue instanceof String ) {
XMLName result; if (nameValue instanceof XMLName) { result = (XMLName) nameValue; } else if (nameValue instanceof QName) { QName qname = (QName) nameValue; result = XMLName.formProperty(qname.uri(), qname.localName()); <extra_id_0> result = toXMLNameFromString(cx, (String) nameValue); } else if (nameValue instanceof Boolean || nameValue instanceof Number || nameValue == Undefined.instance || nameValue == null) { throw badXMLName(nameValue);