depends 028 (AB)

Tests @depends on p:viewport must not form a cycle.

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

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:identity>
      <p:with-input>
         <doc1/>
         <doc2/>
      </p:with-input>
   </p:identity>
   <p:viewport match="/" depends="wrapper">
      <p:identity/>
   </p:viewport>
   <p:wrap-sequence wrapper="result" name="wrapper"/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

02 Jan 2020, Achim Berndzen

Added new tests for [p:] depends.