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

RE: ORA-FO-UNORDERED 15.1.15 fn:unordered

From: Oliver Becker <obecker@informatik.hu-berlin.de>
Date: Wed, 24 Sep 2003 12:46:02 +0200 (MEST)
Message-Id: <200309241046.h8OAk2U5028375@mail.informatik.hu-berlin.de>
To: public-qt-comments@w3.org

> The WGs discussed this on 9/16/2003 and decided not to make the change
> recommended because a function provides finer-grained control than a
> directive.

I'm sorry, but I don't understand what the *function* fn:unordered
really ought to do.
Consider the also discussed distinct-values example.

<xsl:variable name="a" select="distinct-values((1,2,3,2,1,2,3,2,1))" />
<xsl:variable name="b" select="fn:unordered($a)" />

What are the values of $a and $b please?


By the way, I just noted the following:
shouldn't the example of distinct-values uses the additional pair of
parentheses?

Instead of 
fn:distinct-values(1, 2.0, 3, 2) returns something
write
fn:distinct-values((1, 2.0, 3, 2)) returns something

Otherwise it would be a call with 4 parameters.

Regards,
Oliver Becker


/-------------------------------------------------------------------\
|  ob|do        Dipl.Inf. Oliver Becker                             |
|  --+--        E-Mail: obecker@informatik.hu-berlin.de             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
Received on Wednesday, 24 September 2003 06:46:04 UTC

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