XS 001 -6 (AB)

Tests cycles are correctly detected from within complex steps.

Test ab-err-xs0001-006.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" name="pipeline" version="3.0">
   <p:output port="result"/>
   <p:choose>
      <p:when test="false()">
         <p:identity>
            <p:with-input>
               <failure/>
            </p:with-input>
         </p:identity>
      </p:when>
      <p:otherwise>
         <p:identity>
            <p:with-input pipe="@last"/>
         </p:identity>
      </p:otherwise>
   </p:choose>
   <p:wrap-sequence wrapper="result" name="last"/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

07 Apr 2020, Achim Berndzen

New test.