XS0043 002 (AB)

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

Test ab-xs-0043-002.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:viewport match="p">
      <p:with-input port="source">
         <doc>
            <p>Text</p>
            <p>Text</p>
         </doc>
      </p:with-input>
      <p:add-attribute attribute-name="att" attribute-value="42"/>
   </p:viewport>
   <p:wrap-sequence wrapper="wrapper"/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

23 Aug 2020, Achim Berndzen

Tests for XS0043