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 5071 - [XQTS] Expected results of K2-OrderbyExprWithout-13
Summary: [XQTS] Expected results of K2-OrderbyExprWithout-13
Status: RESOLVED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Frans Englich
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-25 10:44 UTC by Oliver Hallam
Modified: 2007-10-02 09:51 UTC (History)
0 users

See Also:


Attachments

Description Oliver Hallam 2007-09-25 10:44:02 UTC
The essence of this test is:

for $a in (3, 2, 1),
    $b in (6, 5, 4)
    order by $b
    return $a

and the expexted result is:
3 2 1 3 2 1 3 2 1

However, there is no order by specified for $a, and so (for example) "3 2 1 1 2 3 3 2 1" is also a valid result.

The test should probably read "stable order by $b", or alternatively all 216 valid results could be listed in the catalog.
Comment 1 Oliver Hallam 2007-09-25 12:33:48 UTC
XMark-Q19 (and hence XMark-All) also suffer from the problem of a non-stable sort being applied with multiple sets of acceptable results.
Comment 2 Frans Englich 2007-10-02 09:51:02 UTC
A fix has been attempted in CVS, XQTS_current.zip is updated.

If the resolution is satisfactory, feel free to change status to closed. Otherwise reopen this report. If no feedback is given within two weeks, status will be set to closed.