Tests p:with-input with space separated targets (just step names) on @pipe
Test ab-with-input-034.xml is expected to pass.
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result"/>
<p:identity name="one">
<p:with-input>
<doc/>
</p:with-input>
</p:identity>
<p:identity name="two">
<p:with-input>
<doc2/>
</p:with-input>
</p:identity>
<p:wrap-sequence wrapper="wrapped">
<p:with-input pipe="@one @two"/>
</p:wrap-sequence>
</p:declare-step>
<s:schema xmlns:p="http://www.w3.org/ns/xproc" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<s:ns prefix="p" uri="http://www.w3.org/ns/xproc"/>
<s:pattern>
<s:rule context="/*">
<s:assert test="self::wrapped">The pipeline root is not wrapped.</s:assert>
<s:assert test="name(self::wrapped/child::*[1])='doc'">The first child is not 'doc'.</s:assert>
<s:assert test="name(self::wrapped/child::*[2])='doc2'">The second child is not 'doc2'.</s:assert>
<s:assert test="count(self::wrapped//*)=2">'wrapped' does not have exactly two child elements.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Reversed @pipe-substructure. (->Prague 2018)
Creating new tests, extending rng and corrected xproc's test