Bug 14350 - [XQuery30] technical: 3.1.5.3 Function Item Coercion: number of parameters
[XQuery30] technical: 3.1.5.3 Function Item Coercion: number of parameters
Status: CLOSED FIXED
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0
Working drafts
All All
: P2 normal
: ---
Assigned To: Jonathan Robie
Mailing list for public feedback on specs from XSL and XML Query WGs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-01 07:57 UTC by Michael Dyck
Modified: 2011-11-18 05:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Dyck 2011-10-01 07:57:34 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.)
Comment 1 Jonathan Robie 2011-10-25 14:35:06 UTC
I agree.
Comment 2 Jonathan Robie 2011-10-31 22:19:47 UTC
The Working Group agrees.
Comment 3 Michael Dyck 2011-11-18 05:22:15 UTC
I have made an appropriate change to the editor's draft of the XQuery/XPath spec.


  翻译: