AB-namespace-delete-011

Tests error is raised if removal leads to attribute name conflict.

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

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:namespace-delete xmlns:pre="http://something"
                       prefixes="pre">
      <p:with-input>
         <document>
            <element att="3" pre:att="4"/>
         </document>
      </p:with-input>
   </p:namespace-delete>
</p:declare-step>

Revision history

05 Oct 2019, Achim Berndzen
Initial tests for p:namespace-delete