<?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>3882</bug_id>
          
          <creation_ts>2006-10-29 10:37:33 +0000</creation_ts>
          <short_desc>[FS] editorial: 4.1.5 Function Calls / Normalization</short_desc>
          <delta_ts>2008-08-31 00:59:01 +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>12649</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2006-10-29 10:37:33 +0000</bug_when>
    <thetext>4.1.5 Function Calls

Norm

&quot;Each argument expression in a function call is normalized to its
corresponding Core expression by applying []_FunctionArgument(Type)
for each argument with the expected SequenceType for the argument
inserted.&quot;
    Delete &quot;for each argument&quot;; it&apos;s redundant.
    s/SequenceType/Type/
    Change &quot;with the expected SequenceType for the argument inserted&quot;
    to &quot;where Type is the corresponding parameter type&quot;.

Norm / rule 1 / conclusion
    The &apos;==&apos; and the following line are leftovers. Delete them.

&quot;Note that this normalization rule depends on the function signatures,
which is used to get the types of the function parameters
(SequenceType1,...,SequenceTypen)&quot;
    s/signatures/signature (found in statEnv.funcType)/
    s/SequenceType/Type/g

&quot;For user-defined functions, the function signature can be obtained from
the XQuery prolog where the function is declared. For built-in functions,
the signature is given in the [Functions and Operators] document.&quot;
    No, the signatures can be obtained from the static environment
    (specifically, statEnv.funcType). They are *derived* from declarations
    that appear elsewhere, which is maybe what you meant.

&quot;For overloaded built-in functions, several signatures may exists,
however, because they all correspond to sequences of atomic values, they
all result in the same normalization.&quot;
    This sentence is irrelevant/meaningless, because calls to overloaded
    built-in functions cannot occur in non-Core queries, and thus are not
    subject to the preceding normalization rule.
    (It&apos;s a leftover, delete it.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14226</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2007-02-26 00:20:22 +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>21704</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2008-08-31 00:58:52 +0000</bug_when>
    <thetext>This issue has been entered as FS erratum E047, 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>