Test for p:delete 021 (AB)

Tests delete raises error if document node is matched.

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

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

Revision history

16 Jun 2019, Achim Berndzen
Added test for the new "do not match document node" ruling.