<?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>1718</bug_id>
          
          <creation_ts>2005-07-18 21:02:35 +0000</creation_ts>
          <short_desc>[FS] editorial: 5.14 Variable Declaration</short_desc>
          <delta_ts>2007-01-16 17:37:42 +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>minor</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>4829</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-07-18 21:02:35 +0000</bug_when>
    <thetext>5.14 Variable Declaration

Norm
&quot;normalizes the variable and its corresponding expression,&quot;
    Change to &quot;normalizes its initializing expression&quot;.

(Norm completeness)
    Missing the case where a non-external variable is declared without a
    type declaration.

SCP / rule 2
    For the case of an external variable, it should be unnecessary to
    augment the statEnv, because statEnvDefault will have already provided
    a type for the variable. (Similar to DCP / rule 2.)

DCP / rule 1 / conclusion
&quot;(:= Expr | external)&quot;
    Change to &quot;:= Expr&quot;.

(DCP completeness)
    Again, missing the case of a non-external variable with a type decl.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9127</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-04-10 21:57:01 +0000</bug_when>
    <thetext>#1 Fixed as suggested.

#2 Added the corresponding rule.

#3 left as is. The type for the external variable may not
be in the external context. in case of an explicit type
assertion it is used in the static context.

#4 Fixed as suggested.

#5 Added the corresponding rule.

- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9146</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2006-04-11 18:46:18 +0000</bug_when>
    <thetext>I just noticed there was a typo in my original comment. Under &quot;(DCP completeness)&quot;, it should say that the case of a non-external variable *without* a type decl isn&apos;t covered. You presumably figured that out.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>