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

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 17:21:50 UTC