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