/src/main/java/org/htmlunit/html/xpath/HtmlUnitPrefixResolver.java
String namespace = super.getNamespaceForPrefix( namespaceContext) ;
String namespace = super.getNamespaceForPrefix ( prefix, namespaceContext ) ;
final class HtmlUnitPrefixResolver extends PrefixResolverDefault { HtmlUnitPrefixResolver(final Node xpathExpressionContext) { super(xpathExpressionContext); } @Override public String getNamespaceForPrefix(final String prefix, final Node namespaceContext) { <extra_id_0> if (namespace == null) { if (namespaceContext instanceof XmlPage) { final DomElement documentElement = ((XmlPage) namespaceContext).getDocumentElement(); if (documentElement != null) { namespace = getNamespace(documentElement, prefix); }