/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/Namespace.java
Namespace ns = ( Namespace) uriValue;QName qname = ( QName) uriValue;
QName qname = ( QName ) uriValue;
String uri; if (uriValue instanceof Namespace) { Namespace ns = (Namespace) uriValue; prefix = ns.prefix(); uri = ns.uri(); } else if (uriValue instanceof QName) { <extra_id_0> uri = qname.uri(); if (uri != null) { prefix = qname.prefix(); } else { uri = qname.toString(); prefix = null;