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

[F&O] IBM-FO-019: Request for deep-distinct function

From: Don Chamberlin <chamberl@almaden.ibm.com>
Date: Fri, 27 Feb 2004 17:52:52 -0800
To: public-qt-comments@w3.org
Message-ID: <OF0286FE58.9599FAB3-ON88256E48.0008FFF1-88256E48.000A5187@us.ibm.com>
(IBM-FO-019) Section 15, Functions and Operators on Sequences: There 
should be a "deep-distinct" function that eliminates duplicate items from 
sequences. Duplicate atomic values should be defined by the "eq" operator. 
Duplicate nodes should be defined by fn:deep-equal(). In the case of 
duplicate nodes, the node that is retained should be 
implementation-dependent. This function is needed by queries that need to 
perform grouping where the grouping-key is a node (for example, grouping 
by <address> that has subelements <street> and <city>, or grouping by 
<author> that has subelements <first-name> and <last-name>.)

--Don Chamberlin
Received on Friday, 27 February 2004 20:52:54 UTC

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