Test err:XS0001 009

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.

The pipeline


  <p:declare-step 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 xmlns=""/></p:inline>
          </p:with-input>
        </p:identity>
      </p:when>
    </p:choose>
    <p:identity name="following"/>
  </p:declare-step>
MorganaXProc passing XML Calabash failing

Revision history

24 Jan 2019, Achim Berndzen

Changed syntax from 1.0 to 3.0

16 Oct 2018, Norman Walsh

Initial commit