/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
if ( attrs.item( i) .lookupPrefix( localName) .equals( prefix) ) {
if ( attrs.item ( i ) .getPrefix ( ) .equals ( prefix ) ) {
if (!(dom instanceof Element)) throw new IllegalStateException(); String prefix = this.dom.getPrefix(); QName after = QName.create(this.dom.getNamespaceURI(), this.dom.getLocalName(), null); renameNode(after); NamedNodeMap attrs = this.dom.getAttributes(); for (int i = 0; i < attrs.getLength(); i++) { <extra_id_0> createImpl(attrs.item(i)) .renameNode( QName.create( attrs.item(i).getNamespaceURI(), attrs.item(i).getLocalName(), null));