Test ab-err-xs0006-004

Tests that err:XS0006 is raised.

Test ab-err-xs0006-004.xml is expected to fail with error code err:XS0006.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:ex="http://test" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result">
      <result/>
   </p:output>
   <p:identity>
      <p:with-input>
         <source/>
      </p:with-input>
   </p:identity>
   <p:choose>
      <p:when test="true()">
         <p:output port="result"/>
         <p:identity>
            <p:with-input>
               <otherwise/>
            </p:with-input>
         </p:identity>
      </p:when>
      <p:otherwise>
         <p:output port="result"/>
         <p:sink/>
      </p:otherwise>
   </p:choose>
</p:declare-step>
XML Calabash passing

Revision history

03 Jan 2025, Achim Berndzen

Initial commit.