W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2020

Re: Is the order of result documents on secondary result port of p:xslt defined?

From: Christophe Marchand <cmarchand@oxiane.com>
Date: Fri, 3 Jul 2020 23:55:21 +0200
To: xproc-dev@w3.org
Message-ID: <d107b935-a388-52e3-2c80-882e507778f1@oxiane.com>
So, the order is implementation dependant. It means you can not rely on 
any expected output order.

Stay confident, implementors are not stupids... but you can not rely on 
them !

Best,
Christophe

Le 03/07/2020 à 19:21, Martin Honnen a écrit :
>
> In XProc 3 with XSLT 3 and p:xslt, is the order of result documents in
> the sequence of documents appearing on the "secondary" port defined by
> the spec or is it implementation dependent?
>
> The test case
> https://github.com/xproc/3.0-test-suite/blob/618c7d291699d44b2cf3eb2ab2affa9e7b12c398/test-suite/tests/ab-xslt-041.xml 
>
> makes checks on positions with e.g.
>
>   /wrapper/result[1]
>
> which only seem to make sense if the order is defined by the spec.
>
> For XSLT 2 stylesheets there is a sentence in the spec saying "The order
> in which result documents appear on the secondary port is implementation
> dependent.".
>
>
>
>
>
Received on Friday, 3 July 2020 21:55:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 3 July 2020 21:55:51 UTC