<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10574</bug_id>
          
          <creation_ts>2010-09-07 21:19:58 +0000</creation_ts>
          <short_desc>[XPath30] &quot;Evaluating Function Calls&quot; section applies to dynamic function invocation as well</short_desc>
          <delta_ts>2011-09-14 22:00:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XPath 3.0</component>
          <version>Member-only Editors Drafts</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/XML/Group/qtspecs/specifications/xquery-11/html/xpath-21.html#id-eval-function-call</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Zongaro">zongaro</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>jim.melton</cc>
          
          <qa_contact name="Jonathan Robie">jonathan.robie</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38566</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Zongaro">zongaro</who>
    <bug_when>2010-09-07 21:19:58 +0000</bug_when>
    <thetext>Section 3.1.5 &quot;Function Calls&quot; 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 &quot;Dynamic Function Invocation&quot; defines dynamic function invocation as a PrimaryExpr that evaluates to a function item that is followed by an ArgumentList.

Section 3.1.5.1 &quot;Evaluating Function Calls&quot;[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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38668</commentid>
    <comment_count>1</comment_count>
    <who name="Henry Zongaro">zongaro</who>
    <bug_when>2010-09-08 13:46:21 +0000</bug_when>
    <thetext>I also note that the terms &quot;function call&quot; and &quot;dynamic function invocation&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56749</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2011-09-13 14:31:34 +0000</bug_when>
    <thetext>Fixed now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>