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
.
<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>
Tests for XS0043