Test for p:insert 023 (AB)

Tests that p:insert with matched processing instruction and position 'last-child' is an error.

Test ab-insert-023.xml is expected to fail with error code err:XC0025.

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="/doc/processing-instruction()" position="last-child">
         <doc><?pi text?></doc>
      <p:with-input port="insertion">
   <p:wrap-sequence wrapper="wrap"/>
MorganaXProc passing XML Calabash passing

Revision history

09 Jul 2019, Achim Berndzen

Fixed error namespace in test.

23 Mar 2019, Achim Berndzen

new tests.