Tests @depends on p:otherwise is not allowed.
Test ab-depends-138.xml is expected to fail with error code err:XS0008
.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result"/>
<p:identity name="source">
<p:with-input>
<test/>
</p:with-input>
</p:identity>
<p:choose>
<p:when test="true()">
<p:identity>
<p:with-input>
<true/>
</p:with-input>
</p:identity>
</p:when>
<p:otherwise depends="source">
<p:identity>
<p:with-input>
<false/>
</p:with-input>
</p:identity>
</p:otherwise>
</p:choose>
</p:declare-step>
Added new tests for [p:] depends.