<?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>11929</bug_id>
          
          <creation_ts>2011-01-31 15:28:23 +0000</creation_ts>
          <short_desc>4.2.19 Q19: expected result is wrong</short_desc>
          <delta_ts>2011-02-01 14:39:33 +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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>11762</dup_id>
          
          <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="Matthias Brantner">matthias.brantner</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>matthias.brantner</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>44907</commentid>
    <comment_count>0</comment_count>
    <who name="Matthias Brantner">matthias.brantner</who>
    <bug_when>2011-01-31 15:28:23 +0000</bug_when>
    <thetext>The expected result for windowing query Q19 seems to be missing a bundle for orderId OID02. 
The ConfirmationRequest for OID02 follows immediately after the OrderRequest for OID2. The second window (with $wSPrev/@orderID eq &quot;OID02) is closed because of the first ShipNotice element. Hence, there is a new window for OID02.

The result should be changed as follows:

&lt;result&gt;
  &lt;bundleWith orderId=&quot;OID01&quot;&gt;
    &lt;OrderRequest billTo=&quot;ACME1&quot; date=&quot;2006-01-02T14:00:00-00:00&quot;
      orderID=&quot;OID03&quot; shipTo=&quot;ACME1&quot; total=&quot;10000&quot; type=&quot;new&quot;&gt;
      &lt;Item partID=&quot;ID3&quot; quantity=&quot;100&quot; unitPrice=&quot;100&quot;/&gt;
    &lt;/OrderRequest&gt;
  &lt;/bundleWith&gt;
  &lt;bundleWith orderId=&quot;OID02&quot;/&gt;
  &lt;bundleWith orderId=&quot;OID03&quot;/&gt;
&lt;/result&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44951</commentid>
    <comment_count>1</comment_count>
    <who name="Matthias Brantner">matthias.brantner</who>
    <bug_when>2011-02-01 14:39:33 +0000</bug_when>
    <thetext>Duplicate of bug #11762

*** This bug has been marked as a duplicate of bug 11762 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>