Test for p:insert 016 (AB)

Tests that p:insert with matched attribute is an error.

Test ab-insert-016.xml is expected to fail with error code err:XC0023 [Core steps, XProc].

The pipeline


<p:declare-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:insert match="/doc1/@a" position="after">
      <p:with-input>
         <doc1 a="4"/>
      </p:with-input>
      <p:with-input port="insertion">
         <doc2/>
      </p:with-input>
   </p:insert>
   <p:wrap-sequence wrapper="wrap"/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

23 Mar 2019, Achim Berndzen

new tests.