Tests @depends on p:finally must not form a cycle.
Test ab-depends-085.xml is expected to fail with error code err:XS0001
.
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result"/>
<p:try>
<p:identity>
<p:with-input><doc xmlns=""/></p:with-input>
</p:identity>
<p:catch>
<p:identity/>
</p:catch>
<p:finally depends="cycle">
<p:output port="finally" primary="false"/>
<p:identity>
<p:with-input><finally xmlns=""/></p:with-input>
</p:identity>
</p:finally>
</p:try>
<p:identity name="cycle"/>
</p:declare-step>
Added new tests for [p:] depends.