Test for p:delete 021 (AB)

Tests delete raises error if document node is matched.

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

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:delete match="/">
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:delete>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

16 Jun 2019, Achim Berndzen

Added test for the new "do not match document node" ruling.