depends 063 (AB)

Tests @depends on p:try must not construct a cycle.

Test is expected to fail with error code err:XS0001.

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" version="3.0">
   <p:output port="result"/>
   <p:try depends="last">
      <p:identity>
         <p:with-input>
            <doc/>
         </p:with-input>
      </p:identity>
      <p:catch>
         <p:identity>
            <p:with-input>
               <doc/>
            </p:with-input>
         </p:identity>
      </p:catch>
   </p:try>
   <p:identity name="last"/>
</p:declare-step>

Revision history

20 Nov 2021, Norman Walsh
Removed error unrelated to this test where there was no binding for an input and no default readable port.
02 Jan 2020, Achim Berndzen
Added new tests for [p:] depends.