depends 047 (AB)

Tests @depends on p:otherwise must name an inscope step.

Test ab-depends-047.xml is expected to fail with error code err:XS0073.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         
         <p:choose>
            <p:when test="true()">
               <p:identity>
                  <p:with-input><true xmlns=""/></p:with-input>
               </p:identity>
            </p:when>
            <p:otherwise depends="not-inscope">
               <p:identity name="not-inscope">
                  <p:with-input><false xmlns=""/></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.