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