This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11929 - 4.2.19 Q19: expected result is wrong
Summary: 4.2.19 Q19: expected result is wrong
Status: RESOLVED DUPLICATE of bug 11762
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.0 Use Cases (show other bugs)
Version: Working drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-31 15:28 UTC by Matthias Brantner
Modified: 2011-02-01 14:39 UTC (History)
1 user (show)

See Also:


Attachments

Description Matthias Brantner 2011-01-31 15:28:23 UTC
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 "OID02) is closed because of the first ShipNotice element. Hence, there is a new window for OID02.

The result should be changed as follows:

<result>
  <bundleWith orderId="OID01">
    <OrderRequest billTo="ACME1" date="2006-01-02T14:00:00-00:00"
      orderID="OID03" shipTo="ACME1" total="10000" type="new">
      <Item partID="ID3" quantity="100" unitPrice="100"/>
    </OrderRequest>
  </bundleWith>
  <bundleWith orderId="OID02"/>
  <bundleWith orderId="OID03"/>
</result>
Comment 1 Matthias Brantner 2011-02-01 14:39:33 UTC
Duplicate of bug #11762

*** This bug has been marked as a duplicate of bug 11762 ***