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 4624 - Serialization problem in K2-ancestor-or-selfAxis-5
Summary: Serialization problem in K2-ancestor-or-selfAxis-5
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P2 minor
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-06-11 11:01 UTC by Nick Jones
Modified: 2007-09-14 11:14 UTC (History)
0 users

See Also:


Attachments

Description Nick Jones 2007-06-11 11:01:57 UTC
This query returns,

1,document(),1

which in the expected results in CVS returns "1 1", but I think this should be "11" (assuming I'm following the normalization rules correctly).

Following the sequence normalization rules in the Serialization spec, I get:

S1=1,document(),1
S2="1",document(),"1"
S3="1",document(),"1"
S4=text("1"),document(),text("1")
S5=text("1"),text("1")
S6=text("11")
Comment 1 Frans Englich 2007-06-13 08:39:07 UTC
Yupp, I think you're right. A fix has been attempted in CVS, XQTS_current.zip is updated.
Comment 2 Michael Kay 2007-06-13 12:44:31 UTC
I believe that the serialization spec is in error here. The process is supposed to be the same as construction of document nodes in XSLT and XQuery, but it isn't. I have raised bug #4641 against Serialization. Note also that the XQuery process is affected by the changes agreed in bug #3637.
Comment 3 Michael Kay 2007-07-31 18:39:56 UTC
I have withdrawn bug #4641 after looking at it more carefully. The results of this test should indeed be "11".
Comment 4 Nick Jones 2007-09-12 10:25:07 UTC
Thanks. Assuming "11" was the correct answer (which I think is now agreed) this now works fine for me in XQTS_current.zip, so am closing.
Comment 5 Nick Jones 2007-09-13 14:29:56 UTC
I'm reopening as it looks like this reverted to "1 1" in yesterday's update to XQTS_current.zip
Comment 6 Frans Englich 2007-09-14 09:34:53 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 returned within two weeks, status will be changed to CLOSED. Thanks for reporting!
Comment 7 Nick Jones 2007-09-14 11:14:57 UTC
Thanks.