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 3041 - Expected result of testcase "orderbywithout-1 " maybe wrong
Summary: Expected result of testcase "orderbywithout-1 " maybe wrong
Status: RESOLVED INVALID
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.8.6
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-24 14:39 UTC by Dirk Bangel
Modified: 2006-03-30 05:20 UTC (History)
0 users

See Also:


Attachments

Description Dirk Bangel 2006-03-24 14:39:49 UTC
Hello Andrew,

if my understanding is correct, the result that you expect is incorrect:

<results> {
for $x in ("A String","B String","C String","D String","E String","F String","G String","H String","I String","J String","K String","L String","M String","N String","O String","P String","R String","S String","T String","U String","V String","W String","X String","Y String","Z String")
 order by xs:string($x) return xs:string($x)
}
</results>

I expect the following result:

<results> A String B String C String D String E String F String G String H String I String J String K String L String M String N String O String P String R String S String T String U String V String W String X String Y String Z String
</results>

and not:

<results>A String B String C String D String E String F String G String H String I String J String K String L String M String N String O String P String R String S String T String U String V String W String X String Y String Z String</results>

I miss the leading blank (after <results>) and the cr between } and </results>. 

Regards

Dirk
Comment 1 Dirk Bangel 2006-03-30 05:20:30 UTC
Sorry, my mistake. When boundary space policy is strip than the leading blanks must be dropped.