#1086 Document projection gives NPE if query has external variable

v9.2
closed
Michael Kay
5
2014-08-26
2010-08-16
Michael Kay
No

When document projection is used based on analysis of a query containing a global parameter (external variable with no default value), a NullPointerException occurs during the analysis in XQueryExpression.getPathMap().

A patch is being placed in Subversion. Although this is in open source code, the problem only affects Saxon-EE.

Discussion

  • Michael Kay
    Michael Kay
    2010-10-08

    Fixed in 9.2.1.5