<?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>6241</bug_id>
          
          <creation_ts>2008-11-19 23:07:59 +0000</creation_ts>
          <short_desc>[XQuery11UC] windowing use case Q2: wrong &quot;at&quot;</short_desc>
          <delta_ts>2010-11-30 13:20:47 +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>XQuery 3.0 Use Cases</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</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="Xavier Franc">xfranc</reporter>
          <assigned_to name="Tim Kraska">tim</assigned_to>
          <cc>jim.melton</cc>
    
    <cc>jonathan.robie</cc>
          
          <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>22480</commentid>
    <comment_count>0</comment_count>
    <who name="Xavier Franc">xfranc</who>
    <bug_when>2008-11-19 23:07:59 +0000</bug_when>
    <thetext>The &apos;end when&apos; condition in Q2 is incorrect and leads to typing errors:

  end at $e when $e[self::h2] 

Clearly the keyword &quot;at&quot; should be replaced by &quot;next&quot;
so that the window contains elements strictly between two h2:

  for tumbling window $w in $seq/body/* 
    start previous $s when $s[self::h2]  
    end next $e when $e[self::h2] 
  return ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23794</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Kraska">tim</who>
    <bug_when>2009-02-17 15:34:24 +0000</bug_when>
    <thetext>I agree and adopted the current working draft accordingly.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42900</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2010-11-30 13:20:47 +0000</bug_when>
    <thetext>Solution is visible in internal draft here:

http://www.w3.org/XML/Group/qtspecs/use-cases/xquery-30/html/Overview.html#windowing_head_para</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>