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
.
<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>
Fixed test. Atomic steps can self-referentially refer to their own output.
Initial commit