<?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>1965</bug_id>
          
          <creation_ts>2005-09-02 00:41:02 +0000</creation_ts>
          <short_desc>[FS] technical: 5.15 Function Declaration: missing checks</short_desc>
          <delta_ts>2005-09-27 08:32:17 +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>Last Call drafts</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Jerome Simeon">simeon</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>5682</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-09-02 00:41:02 +0000</bug_when>
    <thetext>5.15 Function Declaration

STA / rule 2
    Even though the FunctionDecl doesn&apos;t have a body, presumably the
    parameter-names and parameter-types still have to be valid. Thus,
    this rule should have all but the last two premises of the
    previous rule.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5723</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2005-09-06 15:42:44 +0000</bug_when>
    <thetext>Yes I agree, the rule should look like:

statEnv |- VarRef1 of var expands to Variable1
...
statEnv |- VarRefn of var expands to Variablen
statEnv |- [SequenceType1]sequencetype = Type1
...
statEnv |- [SequenceTypen]sequencetype = Typen
statEnv |- [SequenceTyper]sequencetype = Typer
----------------------------------------------
statEnv |- declare function QName (VarRef1 as SequenceType1, ···, VarRefn as
SequenceTypen) as SequenceTyper { Expr } : Typer

Maybe we should factorize those two rules the same way we factorize
function calls...

- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6475</commentid>
    <comment_count>2</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2005-09-27 08:32:11 +0000</bug_when>
    <thetext>The XSLT and XML Query Working Groups have accepted your comment and the
proposed resolution.
Best,
- Jerome</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>