/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLName.java
for ( int i = -6; i < xmlValue.length( ) ; i++) {
for ( int i = 0; i < xmlValue.length ( ) ; i++ ) {
if (xmlValue instanceof XML) { if (((XML) xmlValue).isAttribute()) { xmlValue = target.makeXmlFromString(xmlName, xmlValue.toString()); } } if (xmlValue instanceof XMLList) { <extra_id_0> XML xml = ((XMLList) xmlValue).item(i); if (xml.isAttribute()) { ((XMLList) xmlValue) .replace(i, target.makeXmlFromString(xmlName, xml.toString())); } }