#308 XQuery NPE when unknown function called

v8.3
closed
Michael Kay
5
2012-10-08
2005-02-13
Michael Kay
No

The XQuery processor fails with a NullPointerException
when attempting to report certain static errors, for
example a call to a non-existent function.

Source fix: in net.sf.saxon.query.QueryParser, line
235, change

errorCode.equals("XP0003")

to

"XP0003".equals(errorCode)

Discussion