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

[XQuery] SAG-XQ-004 Unordered

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Thu, 27 Nov 2003 12:56:34 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DD2EB@daemsg02.software-ag.de>
To: public-qt-comments@w3.org
SAG-XQ-004 Unordered

We find that the concept of unordered() as a function, while it has some
theoretical justification, is very difficult to explain to users. This is
because it doesn't reflect the intended purpose: people call functions when
they want to perform some computation on a supplied value, not when they
want to tell the compiler to relax the rules on how the input is evaluated.

The decision also seems to be inconsistent with the decision to merge "order
by" into the FLWOR expression, rather than offering "sort" as a
free-standing function/operator as was done previously.

We propose that the functionality provided by the unordered() function be
offered instead by custom syntax in the FLWOR expressions: essentially by a
keyword UNORDERED which would be a syntactic alterative to the ORDER BY

Michael Kay
for Software AG
Received on Thursday, 27 November 2003 07:00:18 UTC

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