XS 001 -21 (AB)

Tests cycles are correctly detected from within complex steps.

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" name="pipeline" 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>
               <failure/>
            </p:with-input>
         </p:identity>
      </p:catch>
   </p:try>
   <p:wrap-sequence wrapper="result" name="last"/>
</p:declare-step>

Revision history

07 Apr 2020, Achim Berndzen
New test.