OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What Ordering Does XQuery Need? (was:Re: Why not reinvent thewheel?)



At 12:29 AM 3/2/2001 -0500, Thomas B. Passin wrote:
>I tend to think that, if no order is specified, that each branch should remain
>in document order (where that makes any sense, at least), and that the order
>of separate branches should not be guaranteed.

I agree with you. There should be a way to indicate order is not relevant, 
but XML is ordered, and this order should be preserved unless indicated 
otherwise.

In the current XQuery draft, distinct() not only removes duplicates, but 
also removes order. A similar function that removes order but does not 
remove duplicates would be useful.

Jonathan