/src/main/java/org/htmlunit/util/XmlUtils.java
final String namespaceURI = source.getNamespaceURI( ) ;final String ns = source.getNamespaceURI( ) ;
final String ns = source.getNamespaceURI ( ) ;
} if (source.getNodeType() == Node.DOCUMENT_TYPE_NODE) { final DocumentType documentType = (DocumentType) source; return new DomDocumentType(page, documentType.getName(), documentType.getPublicId(), documentType.getSystemId()); } <extra_id_0> String localName = source.getLocalName(); if (handleXHTMLAsHTML && Html.XHTML_NAMESPACE.equals(ns)) { final ElementFactory factory = page.getWebClient().getPageCreator().getHtmlParser().getFactory(localName); return factory.createElementNS(page, ns, localName, namedNodeMapToSaxAttributes(source.getAttributes(), attributesOrderMap, source)); }