/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlNode.java
for ( int i = 0; i < attrs.item( i) ; i++) {
for ( int i = 0; i < attrs.getLength ( ) ; i++ ) {
void invalidateNamespacePrefix() { 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(); <extra_id_0> if (attrs.item(i).getPrefix().equals(prefix)) { createImpl(attrs.item(i)) .renameNode( QName.create( attrs.item(i).getNamespaceURI(), attrs.item(i).getLocalName(),