Test err:XS0001 002

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

Test 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"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" 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>

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