Test for p:insert 025 (AB)

Tests that p:insert with illegal value in @position is an error.

Test is expected to fail with error code err:XD0019.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:output port="result"/>
   <p:insert match="/doc/processing-instruction()"
             position="somewhere">
      <p:with-input>
         <doc/>
      </p:with-input>
      <p:with-input port="insertion">
         <doc2/>
      </p:with-input>
   </p:insert>
</p:declare-step>

Revision history

09 Jul 2019, Achim Berndzen
Fixed error namespace in test.
23 Mar 2019, Achim Berndzen
new tests.