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 10574 - [XPath30] "Evaluating Function Calls" section applies to dynamic function invocation as well
Summary: [XPath30] "Evaluating Function Calls" section applies to dynamic function inv...
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 3.0 (show other bugs)
Version: Member-only Editors Drafts
Hardware: All All
: P5 trivial
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Jonathan Robie
URL: http://www.w3.org/XML/Group/qtspecs/s...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 21:19 UTC by Henry Zongaro
Modified: 2011-09-14 22:00 UTC (History)
1 user (show)

See Also:


Attachments

Description Henry Zongaro 2010-09-07 21:19:58 UTC
Section 3.1.5 "Function Calls" of the internal last call draft of XPath 2.1[1] defines the syntactic term FunctionCall specifically as an EQName followed by an ArgumentList.  Section 3.2.2 "Dynamic Function Invocation" defines dynamic function invocation as a PrimaryExpr that evaluates to a function item that is followed by an ArgumentList.

Section 3.1.5.1 "Evaluating Function Calls"[3] actually applies to both function calls and dynamic function invocation.  The title and first paragraph of 3.1.5.1 need to be revised to account for dynamic function invocation.

[1] http://www.w3.org/XML/Group/qtspecs/specifications/xquery-11/html/xpath-21.html#id-function-calls
[2] http://www.w3.org/XML/Group/qtspecs/specifications/xquery-11/html/xpath-21.html#id-dynamic-function-invocation
[3] http://www.w3.org/XML/Group/qtspecs/specifications/xquery-11/html/xpath-21.html#id-eval-function-call
Comment 1 Henry Zongaro 2010-09-08 13:46:21 UTC
I also note that the terms "function call" and "dynamic function invocation" apply regardless of whether the ArgumentList contains an ArgumentPlaceHolder.  Section 3.1.5.1 seems to apply only to those function calls and dynamic function invocations that are not partial function applications.  That should be made clear as well.
Comment 2 Jonathan Robie 2011-09-13 14:31:34 UTC
Fixed now.