Tests that err:XS0001
is raised if a pipeline contains
a loop.
Test nw-err-xs0001-005.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:viewport name="step" match="doc">
<p:output port="result"/>
<p:with-input>
<p:pipe step="step" port="result"/>
</p:with-input>
<p:identity/>
</p:viewport>
</p:declare-step>
Fixed test by declaring output port on p:viewport.
Initial commit