XS0043 005 (AB)

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

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

The pipeline


<p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:identity>
      <p:with-input>
         <a-doc/>
      </p:with-input>
   </p:identity>
   <p:if test="true()">
      <p:with-input port="source">
         <doc/>
      </p:with-input>
      <p:identity>
         <p:with-input>
            <true/>
         </p:with-input>
      </p:identity>
   </p:if>
</p:declare-step>
MorganaXProc passing XML Calabash failing

Revision history

23 Aug 2020, Achim Berndzen

Tests for XS0043