Test err:XS0001 005

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.

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: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>
MorganaXProc passing XML Calabash failing

Revision history

20 Jul 2019, Achim Berndzen

Fixed test by declaring output port on p:viewport.

16 Oct 2018, Norman Walsh

Initial commit