This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14350 - [XQuery30] technical: 3.1.5.3 Function Item Coercion: number of parameters
Summary: [XQuery30] technical: 3.1.5.3 Function Item Coercion: number of parameters
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 (show other bugs)
Version: Working drafts
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-01 07:57 UTC by Michael Dyck
Modified: 2011-11-18 05:22 UTC (History)
0 users

See Also:


Attachments

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.