/src/main/java/org/htmlunit/util/XmlUtils.java
final Attr attribute = ( Attr) nodeAttributes.item( i) ;
final Attr attribute = ( Attr ) nodeAttributes.item ( orderedIndex ) ;
.createElementNS(page, namespaceURI, qualifiedName, namedNodeMapToSaxAttributes(nodeAttributes, attributesOrderMap, source)); } final OrderedFastHashMap<String, DomAttr> attributes = new OrderedFastHashMap<>(); for (int i = 0; i < nodeAttributes.getLength(); i++) { final int orderedIndex = Platform.getIndex(nodeAttributes, attributesOrderMap, source, i); <extra_id_0> final String attributeNamespaceURI = attribute.getNamespaceURI(); final String attributeQualifiedName; if (attribute.getPrefix() == null) { attributeQualifiedName = attribute.getLocalName(); } else {