Re: [xsl] XQuery/XPath 3.1: Node List to Node Set ("distinct nodes")

Subject: Re: [xsl] XQuery/XPath 3.1: Node List to Node Set ("distinct nodes")
From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Dec 2021 20:01:31 -0000
On Wed, Dec 29, 2021 at 11:47 AM Liam R. E. Quin liam@xxxxxxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> Probably it works well enough in practice; if it was part of a library
>   i was distributing, at the very least i'd want to document that the
>   order is not guaranteed.

Definitely!

But if I am the dying man and the banana is right in front of my mouth, I
will grab and eat it, no matter what the documentation says.

Cheers,
Dimitre

On Wed, Dec 29, 2021 at 11:47 AM Liam R. E. Quin liam@xxxxxxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, 2021-12-29 at 19:06 +0000, Dimitre Novatchev
> dnovatchev@xxxxxxxxx wrote:
> > On Wed, Dec 29, 2021 at 10:27 AM Martin Honnen martin.honnen@xxxxxx <
> > xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > I am happy to state that the provided solution produces the correct
> > result
> > on all currently-existing XPath engines :)
>
> Does that include Oracle and DB2? What if the XPath expression is used
> inside an "unordered" expression?
>
>
> Probably it works well enough in practice; if it was part of a library
> i was distributing, at the very least i'd want to document that the
> order is not guaranteed.
>
> Liam
>
> --
> Liam Quin, https://www.delightfulcomputing.com/
> Available for XML/Document/Information Architecture/XSLT/
> XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
> Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org
> 
>
>

-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
To achieve the impossible dream, try going to sleep.
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
Typing monkeys will write all Shakespeare's works in 200yrs.Will they write
all patents, too? :)
-------------------------------------
Sanity is madness put to good use.
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.

Current Thread