/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoDOMBuilder.java
if ( factory == HtmlUnitNekoHtmlParser.SVG_FACTORY ) { namespaceURI = Html.SVG_NAMESPACE; }
} if (!(page_ instanceof XHtmlPage) && Html.XHTML_NAMESPACE.equals(namespaceURI)) { namespaceURI = null; } final ElementFactory factory = htmlParser_.getElementFactory(page_, namespaceURI, qName, insideSvg_, false); <extra_id_0> final DomElement newElement = factory.createElementNS(page_, namespaceURI, qName, atts, true); newElement.setStartLocation(locator_.getLineNumber(), locator_.getColumnNumber()); addNodeToRightParent(currentNode_, newElement); if (newElement instanceof HtmlSvg) { insideSvg_ = true; }