depends 020 (AB)

Tests @depends on p:for-each must be name of an inscope step.

Test is expected to fail with error code err:XS0073.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:output port="result"/>
   <p:identity>
      <p:with-input>
         <doc1/>
         <doc2/>
      </p:with-input>
   </p:identity>
   <p:for-each depends="i-do-not-exist">
      <p:identity/>
   </p:for-each>
   <p:wrap-sequence wrapper="result"/>
</p:declare-step>

Revision history

02 Jan 2020, Achim Berndzen
Added new tests for [p:] depends.