depends 069 (AB)

Tests @depends on p:try/p:group must not create a cycle.

Test ab-depends-069.xml 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" version="3.0">
   <p:output port="result"/>
   <p:try>
      <p:group depends="last">
         <p:identity>
            <p:with-input>
               <doc/>
            </p:with-input>
         </p:identity>
      </p:group>
      <p:catch>
         <p:identity>
            <p:with-input>
               <doc/>
            </p:with-input>
         </p:identity>
      </p:catch>
   </p:try>
   <p:identity name="last"/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

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.