depends 023 (AB)

Tests @depends on p:for-each must not form cycle.

Test ab-depends-023.xml is expected to fail with error code err:XS0001.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         
         <p:identity>
            <p:with-input>
               <doc1 xmlns=""/>
               <doc2 xmlns=""/>
            </p:with-input>
         </p:identity>
         
         <p:for-each name="loop" depends="wrapper">
            <p:identity/>
         </p:for-each>
         
         <p:wrap-sequence name="wrapper" depends="loop">
            <p:with-input><result xmlns=""/></p:with-input>
            <p:with-option name="wrapper" select="'wrapper'">
               <p:empty/>
            </p:with-option>
         </p:wrap-sequence>
      </p:declare-step>
   
MorganaXProc passing XML Calabash failing

Revision history

02 Jan 2020, Achim Berndzen

Added new tests for [p:] depends.