Tests that err:XS0001
is raised if a pipeline contains
a loop.
Test nw-err-xs0001-009.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:choose name="step">
<p:with-input>
<p:pipe step="following" port="result"/>
</p:with-input>
<p:when test="1 = 1">
<p:identity>
<p:with-input port="source">
<p:inline>
<doc/>
</p:inline>
</p:with-input>
</p:identity>
</p:when>
</p:choose>
<p:identity name="following"/>
</p:declare-step>
Changed syntax from 1.0 to 3.0
Initial commit