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

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