p:choose-058 (AB)
Test is expected to fail with error code err:XS0102.
The pipeline
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
xmlns:p="http://www.w3.org/ns/xproc"
xmlns:t="http://xproc.org/ns/testsuite/3.0" xmlns:test="http://test" version="3.0">
<p:output port="result"/>
<p:input port="source" sequence="true"/>
<p:for-each>
<p:choose>
<p:when test="true()">
<p:output port="result2" sequence="true"/>
<p:identity/>
</p:when>
<p:otherwise>
<p:output port="result" sequence="true"/>
<p:identity/>
</p:otherwise>
</p:choose>
</p:for-each>
</p:declare-step>
Revision history
- 27 Feb 2020, Achim Berndzen
New tests