<?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>3883</bug_id>
          
          <creation_ts>2006-10-29 10:42:00 +0000</creation_ts>
          <short_desc>[FS] editorial: 4.1.5 Function Calls / Static Type Analysis</short_desc>
          <delta_ts>2008-08-31 02:24:26 +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>Formal Semantics 1.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Michael Dyck">jmdyck</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12650</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2006-10-29 10:42:00 +0000</bug_when>
    <thetext>4.1.5 Function Calls

STA

&quot;categories the belong to&quot;
    s/the/they/

&quot;looking-up&quot;
    s/-/ /

&quot;The following two rules ... by first looking-up the expanded QName for
the function, then applying the appropriate set of static typing rules
depending on the category in which the function is.&quot;
    That doesn&apos;t describe what these two rules do, it describes what the
    subsequent prose (with the three-way split) does.

&quot;check that some signature for the function satisfies the following
constraint: the type of each actual argument is a subtype of some type
that can be promoted to the type of the corresponding function parameter.&quot;
    Old wording. Change to:
        &quot;check that the type of each actual argument can be promoted to
        the type of the corresponding function parameter.&quot;

&quot;Notice that the static context contains at most one function declaration
for each function.&quot;
    Well, strictly speaking, it contains at most one function signature
    for each (function name, arity) pair. It would be more approriate to
    say this earlier, after &quot;look up the function in the static
    environment&quot;.

&quot;This [the fact that there&apos;s at most one signature pertinent to a
FunctionCall] is possible since the treatment of overloaded operators is
done through a set of specific static typing rules which do not require
access to the environment.&quot;
    While it&apos;s true that the overloaded fs: functions have special static
    typing rules, it isn&apos;t true that:
    a) they do not require access to the environment, or
    b) their special treatment &quot;makes it possible&quot; for statEnv.funcType
       to map to a single signature.
    Moreover, they&apos;re not really relevant at this point, since the
    three-way split has already dispatched them to C.2.
    (This sentence is a leftover, delete it.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14227</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2007-02-26 00:20:34 +0000</bug_when>
    <thetext>The fix for this bug does not appear in the Recommendation of 23 January 2007. 
It will be considered for a future publication (either an Errata document or
some possible future version of the specification). </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21705</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2008-08-31 02:24:16 +0000</bug_when>
    <thetext>This issue has been entered as FS erratum E048, and the fix has been
committed to the source files for the next edition of the FS document.
Consequently, I&apos;m marking this issue resolved-FIXED, and CLOSED.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>