XS0043 003 (AB)

Tests for XS0043: Attribute port not allowed on p:with-input

Test ab-xs-0043-003.xml is expected to fail with error code err:XS0043.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>        
         
         <p:choose>
            <p:when test="true()">
               <p:with-input port="source"><doc xmlns=""/></p:with-input>
               <p:identity>
                  <p:with-input><true xmlns=""/></p:with-input>
               </p:identity>
            </p:when>
            <p:otherwise>
               <p:identity>
                  <p:with-input><false xmlns=""/></p:with-input>
               </p:identity>
            </p:otherwise>
         </p:choose>
         
      </p:declare-step>
   

Revision history

23 Aug 2020, Achim Berndzen

Tests for XS0043