<?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>1669</bug_id>
          
          <creation_ts>2005-07-17 00:54:59 +0000</creation_ts>
          <short_desc>[FS] editorial: 4.8.2 For expression</short_desc>
          <delta_ts>2007-02-25 23:16:04 +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>4754</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-07-17 00:54:59 +0000</bug_when>
    <thetext>4.8.2 For expression

4.8.2 / STA / rule 1 / conclusion
&quot;Type2 · quantifier(Type1)&quot;
    There&apos;s no definition for this notation.
    Should it be in the syntax for (Formal) Type?

STA / rule 3 / premise 4
&quot;statEnv + varType(VarRef1 =&gt; Type0) |- Expr2 =&gt; Type2&quot;
    The second arrow should be a bold colon.

&quot;The last rule contains a For expression&quot;
    s/contains/handles/

&quot;The most specific type possible is: element out {element one {}},
element out {element two {}}, element out {element three {}}&quot;
    Huh? Isn&apos;t the most specific type (xs:decimal, xs:float, xs:integer)?

&quot;the iteration expression Expr1, is evaluated&quot;
    Delete comma.

DEv / rule 4 / premise 4
&quot;statEnv |- VarRef of var expands to Variable&quot;
    Move this premise up; it&apos;s interfering with the ellipsis.

DEv / rule 5 / premise 3
&quot;statEnv |- Item1 matches Type0&quot;
    Move this premise down one line (after the line with premise 4 &amp; 5 )
    so that it can participate in the ellipsis.

DErr
&quot;If any evaluation of the body of the for expression&quot;
&quot;This rule applies to for expressions&quot;
    s/for/For/  or  &lt;code&gt;for&lt;/code&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9275</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-04-17 00:52:46 +0000</bug_when>
    <thetext>Fixed as suggested. Added a pointer to the definition of operations between types and quantifiers in Section 8.4 Judgments for FLWOR and other expressions on sequences.

- Jerome
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12259</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2006-10-03 20:50:34 +0000</bug_when>
    <thetext>Re: DEv / rule (4|5)

While carrying out my suggested changes to these rules, you also moved up the
    dynEnv + varValue(Variable =&gt; Item1...) |- Expr2 =&gt; Value1
premise, which makes it look like it doesn&apos;t participate in the ellipsis. 

(Currently it looks like only the
    statEnv |- Itemi matches Type0
premises participate in the ellipsis.) 

I doubt this is what you want, so in each rule, move the &quot;dynEnv ... Value1&quot; premise back to where it was.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12286</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2006-10-04 22:06:27 +0000</bug_when>
    <thetext>Or, instead of having a single ellipsis over pairs of premises, you could have two parallel ellipses, each over a single premise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13597</commentid>
    <comment_count>4</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2007-01-16 17:58:30 +0000</bug_when>
    <thetext>Fixed by moving the judgments into two separate ellipsis, as suggested
in Comment #3.

- Jerome</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>