W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2012

[Bug 20416] Sequence Normalization Queries

From: <bugzilla@jessica.w3.org>
Date: Mon, 17 Dec 2012 19:23:58 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-20416-523-8ay2bdtp2V@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20416

--- Comment #1 from Henry Zongaro <zongaro@ca.ibm.com> ---
Thank you for pointing out those problems with the query I used to describe the
behaviour of the item-separator serialization parameter.  I think I was so
focused on ensuring adjacent atomic values would be separated by the item
separator, not spaces, that I failed to ensure that the item separator would be
present between each pair of adjacent items.

I think your proposed query is correct, but I'd like to take a closer look to
ensure that it is.

Regarding your last point that "Document construction removes document nodes so
manually removing the document nodes is unnecessary," I agree.  Looking at the
history of that query in Serialization, it was introduced at a time when XQuery
made it an error if the content of a document node constructor contained a
document node.  After that restriction was removed, I never noticed the query
in this section could be simplified.

Speaking for myself, not on behalf of the working groups.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 17 December 2012 19:24:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 December 2012 19:24:01 GMT