W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2004

Re: [F&O] 15.2.1 fn:deep-equal

From: David Carlisle <davidc@nag.co.uk>
Date: Tue, 1 Jun 2004 10:31:11 +0100
Message-Id: <200406010931.KAA01712@penguin.nag.co.uk>
To: ashokmalhotra@alum.mit.edu
Cc: public-qt-comments@w3.org

> In fact, there has been a great deal of discussion about this function
> and on On 3-16-2004 we decided to accept Mike Kay’s wording contained
> in: http://lists.w3.org/Archives/Member/w3c-query-operators/2004Jan/0005.html 

This version preserves the feature that the presence of a comment or PI
affects the result (as explictly mentioned in a note).
I find this rather regrettable and the function would be a lot more
useful if adjacent text nodes in the sequence of element-or-text node
children of elements or document nodes were merged. This is slightly
verbose to write out as XPath but as the function is now being defined
by prose text, that is less of an issue.

On the other hand, the function will so rarely be useful, as almost
always you will need to write a specific equality function that captures
the information important in a particular context, that I do not think
I wish to hold up the process by formally objecting to this resolution
of my last call comment. I can live with this result, this function
(like so many others in XPath2, regrettably) will just be part of the
"excess bloat" that accounts for much of Xpath2.

> Please look at the next draft of the F&O and tell us if you are
> satisfied with the result. 

"satisfied" is putting it too strongly:-) but I don't formally object.
However if the definition could be modified so that adjacent text nodes
are merged, that would be an improvement, I think.

Thanks for your consideration of my comments,


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
Received on Tuesday, 1 June 2004 05:31:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:19 UTC