Tests connections for p:with-input on p:choose.
Test ab-choose-050.xml is expected to fail with error code err:XS0022
.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
<p:output port="result"/>
<p:choose>
<p:when test="true()">
<p:with-input pipe="@i-do-not-exist"/>
<p:identity>
<p:with-input>
<error/>
</p:with-input>
</p:identity>
</p:when>
</p:choose>
</p:declare-step>
Initial test