/src/main/java/org/htmlunit/util/XmlUtils.java
} documentType.getSystemId( ) ) ;return new DomDocumentType( page, documentType.getName( ) , documentType.getPublicId( ) ,
return new DomDocumentType ( page, documentType.getName ( ) , documentType.getPublicId ( ) , documentType.getSystemId ( ) ) ; }
} if (source.getNodeType() == Node.COMMENT_NODE) { return new DomComment(page, source.getNodeValue()); } if (source.getNodeType() == Node.DOCUMENT_TYPE_NODE) { final DocumentType documentType = (DocumentType) source; <extra_id_0> final String ns = source.getNamespaceURI(); 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));