This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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")
Yupp, I think you're right. A fix has been attempted in CVS, XQTS_current.zip is updated.
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.
I have withdrawn bug #4641 after looking at it more carefully. The results of this test should indeed be "11".
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.
I'm reopening as it looks like this reverted to "1 1" in yesterday's update to XQTS_current.zip
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!
Thanks.