W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2003

RE: ORA-FO-EXCEPT 15.2.5 op:except

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Wed, 30 Jul 2003 14:09:57 -0700
Message-ID: <E5B814702B65CB4DA51644580E4853FB09D18D11@red-msg-12.redmond.corp.microsoft.com>
To: "Stephen Buxton" <stephen.buxton@oracle.com>, <public-qt-comments@w3.org>

Duplicates are eliminated from the result for op:union(), op:except()
and op:intersect().  For op:union, the two nodes in 

the two sequences are unioned, duplicates eliminated and the result


For op:except(), the nodes in the first sequence that do not appear in
the second sequence as collected, duplicates

eliminated and the result returned.  If the second argument is the empty
sequence, the first argument, is returned 

after eliminating duplicates.  


For op:intersect(), the intersection of the two sequences is computed,
duplicates eliminated and returned.


I think the wording in the document is clear.  Please take another look.
If you think it's confusing I can attempt to clarify. 


All the best, Ashok 


From: public-qt-comments-request@w3.org
[mailto:public-qt-comments-request@w3.org] On Behalf Of Stephen Buxton
Sent: Monday, June 30, 2003 6:05 PM
To: public-qt-comments@w3.org
Subject: ORA-FO-EXCEPT 15.2.5 op:except 


Functions and Operators, Section 15.2.5 op:except "Constructs a sequence
.... eliminating duplicate nodes" 

If there are duplicates in $parameter1, do they get eliminated ? 
If so, do the duplicates in $parameter1 get eliminated even when
$parameter2 is the empty sequence ? 

What about op:union, op:intersect - are duplicates in one of the input
sequences preserved or eliminated ?
Received on Wednesday, 30 July 2003 17:10:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:48 UTC