depends 011 (AB)

Tests [p:]depends must not form a circle.

Test ab-depends-011.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 name="first" depends="second">
            <p:with-input>
               <doc1 xmlns=""/>
            </p:with-input>
         </p:identity>

         <p:identity name="second" depends="first">
            <p:with-input>
               <doc2 xmlns=""/>
            </p:with-input>
         </p:identity>
         
      </p:declare-step>
   

Revision history

02 Jan 2020, Achim Berndzen

Added new tests for [p:] depends.