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 4028 - nodexpression23 assumes particular ordering
Summary: nodexpression23 assumes particular ordering
Status: CLOSED WONTFIX
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 1.0.2
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-01 14:59 UTC by Anthony Jones
Modified: 2006-12-12 10:09 UTC (History)
0 users

See Also:


Attachments

Description Anthony Jones 2006-12-01 14:59:06 UTC
"XQuery 1.0 and XPath 2.0 Data Model" specifies that: "The relative order of nodes in distinct trees is stable but implementation-dependent". 

The test nodeexpression23 seems to be assuming a particular ordering of nodes in distinct trees:

<a>50000</a> << $input-context1/works[1]/employee[1]/empnum[1]

(expected result = "true")
Comment 1 Carmelo Montanez 2006-12-11 21:37:13 UTC
Anthony:

Thanks for the message.  The catalog file does specify an alternate expected results to account for the order.  I will mark the bug as "wontfix".  Please close the bug if in agreement.

Thanks,
Carmelo
Comment 2 Anthony Jones 2006-12-12 10:09:32 UTC
Thanks Carmelo, you are entirely correct. No idea how I missed that. I'll close the bug.