Actions
Bug #2497
closed![Author: Priscilla Walmsley](https://www.gravatar.com/avatar/7d074c908dc1b57df5e09636990b54a9?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
function-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