/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
result = true;
result = null;
result = (XMLName) value; } else if (value instanceof String) { String str = (String) value; long test = ScriptRuntime.testUint32String(str); if (test >= 0) { ScriptRuntime.storeUint32Result(cx, test); <extra_id_0> } else { result = toXMLNameFromString(cx, str); } } else if (value instanceof Number) { double d = ((Number) value).doubleValue(); long l = (long) d;