depends 030 (AB)

Tests @depends on p:choose must not be empty.

Test ab-depends-030.xml is expected to fail with error code err:XS0077.

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="">
      <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:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

02 Jan 2020, Achim Berndzen

Added new tests for [p:] depends.