Test err:XS0001 010

Tests that err:XS0001 is raised if a pipeline contains a loop.

Test nw-err-xs0001-010.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:choose name="step">
      <p:when test="1 = 1">
         <p:with-input>
            <p:pipe step="following" port="result"/>
         </p:with-input>
         <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>
MorganaXProc passing XML Calabash passing

Revision history

24 Jan 2019, Achim Berndzen

Changed syntax from 1.0 to 3.0

16 Oct 2018, Norman Walsh

Initial commit