AB choose-051

Tests connections for p:with-input on p:choose.

Test ab-choose-051.xml is expected to fail with error code err:XS0022.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
         <p:output port="result"/>
         
         <p:identity name="producer">
            <p:with-input><doc xmlns=""/></p:with-input>
         </p:identity>
         <p:choose>
            <p:when test="true()">
               <p:with-input pipe="result1@producer"/>
               <p:identity>
                  <p:with-input><error xmlns=""/></p:with-input>
               </p:identity>
            </p:when>
         </p:choose>         
      </p:declare-step>
   
MorganaXProc passing XML Calabash passing

Revision history

21 Jul 2019, Achim Berndzen

Initial test