Test err:XS0001 002

Tests that err:XS0001 is raised if a pipeline contains a loop.

Test nw-err-xs0001-002.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:identity name="step-a">
      <p:with-input port="source">
         <p:pipe step="step-b" port="result"/>
      </p:with-input>
   </p:identity>
   <p:identity name="step-b">
      <p:with-input port="source">
         <p:pipe step="step-a" port="result"/>
      </p:with-input>
   </p:identity>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

11 Nov 2024, Norman Walsh

Fixed test. Atomic steps can self-referentially refer to their own output.

16 Oct 2018, Norman Walsh

Initial commit