Test err:XS0001 003

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

Test nw-err-xs0001-003.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:input port="source"/>
   <p:count name="step-a">
      <p:with-option name="limit" select="count(/*)">
         <p:pipe step="step-b" port="result"/>
      </p:with-option>
   </p:count>
   <p:identity name="step-b"/>
</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