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