/src/main/java/org/htmlunit/util/XmlUtils.java
localName = localName.toUpperCase ( Locale.ROOT ) ;
final ElementFactory factory = page.getWebClient().getPageCreator().getHtmlParser().getFactory(localName); return factory.createElementNS(page, ns, localName, namedNodeMapToSaxAttributes(source.getAttributes(), attributesOrderMap, source)); } final NamedNodeMap nodeAttributes = source.getAttributes(); if (page != null && page.isHtmlPage()) { <extra_id_0> } final String qualifiedName; if (source.getPrefix() == null) { qualifiedName = localName; } else {