Actions
Bug #2497
closedfunction-lookup should not fail if built-in function not found
Start date:
2015-11-16
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:
Description
If an XQuery query calls function-lookup with a name in the built-in functions namespace, it fails with XPST0017. I would have thought it should just return the empty sequence, since no function with that name and arity is found. For example:
function-lookup(xs:QName("fn:foo"),1)
or
function-lookup(xs:QName("fn:upper-case"),4)
Please register to edit this issue
Actions