depends 035 (AB)

Tests @depends on p:choose must not form a cycle.

Test ab-depends-035.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:choose depends="second">
      <p:when test="true()">
         <p:identity>
            <p:with-input>
               <true/>
            </p:with-input>
         </p:identity>
      </p:when>
      <p:otherwise>
         <p:identity>
            <p:with-input>
               <false/>
            </p:with-input>
         </p:identity>
      </p:otherwise>
   </p:choose>
   <p:identity name="second"/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

02 Jan 2020, Achim Berndzen

Added new tests for [p:] depends.