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