/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/Namespace.java
if ( prefix != null) {
if ( uri == null ) {
private Namespace constructNamespace(Object prefixValue, Object uriValue) { String prefix; String uri; if (uriValue instanceof QName) { QName qname = (QName) uriValue; uri = qname.uri(); <extra_id_0> uri = qname.toString(); } } else { uri = ScriptRuntime.toString(uriValue); } if (uri.length() == 0) {