AB-namespace-delete-012

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

Test ab-namespace-delete-012.xml 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" version="3.0">
   <p:output port="result"/>
   <p:namespace-delete xmlns:other="http://other" xmlns:pre="http://something" prefixes="pre other">
      <p:with-input>
         <document>
            <element other:att="3" pre:att="4"/>
         </document>
      </p:with-input>
   </p:namespace-delete>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

05 Oct 2019, Achim Berndzen

Initial tests for p:namespace-delete