<?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>6243</bug_id>
          
          <creation_ts>2008-11-19 23:38:59 +0000</creation_ts>
          <short_desc>[XQuery11UC] windowing use case Q8: wrong expected result</short_desc>
          <delta_ts>2009-02-17 15:41:07 +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>
          
          <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>22483</commentid>
    <comment_count>0</comment_count>
    <who name="Xavier Franc">xfranc</who>
    <bug_when>2008-11-19 23:38:59 +0000</bug_when>
    <thetext>Too many items. Should be:

&lt;result&gt;
    &lt;working-time&gt;
        &lt;person&gt;Anton&lt;/person&gt;
        &lt;time&gt;PT4H30M&lt;/time&gt;
    &lt;/working-time&gt;
    &lt;working-time&gt;
        &lt;person&gt;Barbara&lt;/person&gt;
        &lt;time&gt;PT3H&lt;/time&gt;
    &lt;/working-time&gt;
    &lt;working-time&gt;
        &lt;person&gt;Clara&lt;/person&gt;
        &lt;time&gt;PT1H&lt;/time&gt;
    &lt;/working-time&gt;
    &lt;working-time&gt;
        &lt;person&gt;Anton&lt;/person&gt;
        &lt;time&gt;PT5H&lt;/time&gt;
    &lt;/working-time&gt;
    &lt;working-time&gt;
        &lt;person&gt;Clara&lt;/person&gt;
        &lt;time&gt;PT4H15M&lt;/time&gt;
    &lt;/working-time&gt;
&lt;/result&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23796</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Kraska">tim</who>
    <bug_when>2009-02-17 15:41:07 +0000</bug_when>
    <thetext>I changed the input data to address query Q13 to
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;stream xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;person_events.xsd&quot;&gt;
  &lt;event time=&quot;2006-01-01T01:00:00-00:00&quot;/&gt;
  &lt;event time=&quot;2006-01-01T10:30:00-00:00&quot;&gt;
    &lt;person&gt;Anton&lt;/person&gt;
    &lt;direction&gt;in&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-01T11:00:00-00:00&quot;&gt;
    &lt;person&gt;Barbara&lt;/person&gt;
    &lt;direction&gt;in&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-01T11:15:00-00:00&quot;&gt;
    &lt;person&gt;Clara&lt;/person&gt;
    &lt;direction&gt;in&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-01T12:15:00-00:00&quot;&gt;
    &lt;person&gt;Clara&lt;/person&gt;
    &lt;direction&gt;out&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-01T14:00:00-00:00&quot;&gt;
    &lt;person&gt;Barbara&lt;/person&gt;
    &lt;direction&gt;out&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-01T15:00:00-00:00&quot;&gt;
    &lt;person&gt;Anton&lt;/person&gt;
    &lt;direction&gt;out&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-01T23:00:00-00:00&quot;/&gt;
  &lt;event time=&quot;2006-01-02T01:00:00-00:00&quot;/&gt;
  &lt;event time=&quot;2006-01-02T11:00:00-00:00&quot;&gt;
    &lt;person&gt;Anton&lt;/person&gt;
    &lt;direction&gt;in&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-02T12:00:00-00:00&quot;&gt;
    &lt;person&gt;Clara&lt;/person&gt;
    &lt;direction&gt;in&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-02T12:10:00-00:00&quot;&gt;
    &lt;person&gt;Clara&lt;/person&gt;
    &lt;direction&gt;out&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-02T12:15:00-00:00&quot;&gt;
    &lt;person&gt;Clara&lt;/person&gt;
    &lt;direction&gt;in&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-02T12:20:00-00:00&quot;&gt;
    &lt;person&gt;Clara&lt;/person&gt;
    &lt;direction&gt;out&lt;/direction&gt;
  &lt;/event&gt;
    &lt;event time=&quot;2006-01-02T12:25:00-00:00&quot;&gt;
    &lt;person&gt;Clara&lt;/person&gt;
    &lt;direction&gt;in&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-02T12:40:00-00:00&quot;&gt;
    &lt;person&gt;Clara&lt;/person&gt;
    &lt;direction&gt;out&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-02T14:00:00-00:00&quot;&gt;
    &lt;person&gt;Clara&lt;/person&gt;
    &lt;direction&gt;in&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-02T16:00:00-00:00&quot;&gt;
    &lt;person&gt;Anton&lt;/person&gt;
    &lt;direction&gt;out&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-02T16:15:00-00:00&quot;&gt;
    &lt;person&gt;Clara&lt;/person&gt;
    &lt;direction&gt;out&lt;/direction&gt;
  &lt;/event&gt;
  &lt;event time=&quot;2006-01-02T23:00:00-00:00&quot;/&gt;
&lt;/stream&gt;



Hence, the result is now:

&lt;result&gt;
        &lt;working-time&gt;
                &lt;person&gt;Anton&lt;/person&gt;
                &lt;time&gt;PT4H30M&lt;/time&gt;
        &lt;/working-time&gt;
        &lt;working-time&gt;
                &lt;person&gt;Barbara&lt;/person&gt;
                &lt;time&gt;PT3H&lt;/time&gt;
        &lt;/working-time&gt;
        &lt;working-time&gt;
                &lt;person&gt;Clara&lt;/person&gt;
                &lt;time&gt;PT1H&lt;/time&gt;
        &lt;/working-time&gt;
        &lt;working-time&gt;
                &lt;person&gt;Anton&lt;/person&gt;
                &lt;time&gt;PT5H&lt;/time&gt;
        &lt;/working-time&gt;
        &lt;working-time&gt;
                &lt;person&gt;Clara&lt;/person&gt;
                &lt;time&gt;PT10M&lt;/time&gt;
        &lt;/working-time&gt;
        &lt;working-time&gt;
                &lt;person&gt;Clara&lt;/person&gt;
                &lt;time&gt;PT5M&lt;/time&gt;
        &lt;/working-time&gt;
        &lt;working-time&gt;
                &lt;person&gt;Clara&lt;/person&gt;
                &lt;time&gt;PT15M&lt;/time&gt;
        &lt;/working-time&gt;
        &lt;working-time&gt;
                &lt;person&gt;Clara&lt;/person&gt;
                &lt;time&gt;PT4H15M&lt;/time&gt;
        &lt;/working-time&gt;
&lt;/result&gt;

I&apos;m marking this bug FIXED.  Xaviar, if you agree with the solution, please mark
it CLOSED. 

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>