Bugzilla – Bug 14350
[XQuery30] technical: 3.1.5.3 Function Item Coercion: number of parameters
Last modified: 2011-11-18 05:22:15 UTC
It seems to me that function item coercion should be required to raise a type error if there's a mismatch in the number of parameters (expected vs actual), because the semantics of the new function don't make any sense in such a case. (Currently, an implementation is merely *allowed* to raise a type error.)
I agree.
The Working Group agrees.
I have made an appropriate change to the editor's draft of the XQuery/XPath spec.