#326 JAXP XPath API with no FunctionResolver

v8.3
closed
5
2012-10-08
2005-03-09
Michael Kay
No

If an XPath expression supplied to the JAXP XPath API
contains a function call, and if no
XPathFunctionResolver has been registered, a
NullPointerException may occur.

Source fix: in net.sf.saxon.xpath.XPathFunctionLibrary,
at the start of the bind() method on line 72, add

    if (resolver == null) {
        return null;
    }

Michael Kay

Discussion