/src/main/java/org/htmlunit/html/xpath/XPathHelper.java
final boolean caseSensitive = contextNode.getPage ( ) .hasCaseSensitiveTagNames ( ) ;
xpathExpressionContext = contextNode; } PrefixResolver resolver = prefixResolver; if (resolver == null) { resolver = new HtmlUnitPrefixResolver(xpathExpressionContext); } <extra_id_0> final XPathAdapter xpath = new XPathAdapter(str, resolver, null, caseSensitive); final int ctxtNode = xpathSupport.getDTMHandleFromNode(contextNode); return xpath.execute(xpathSupport, ctxtNode, prefixResolver); } }