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

Revision history

05 Oct 2019, Achim Berndzen

Initial tests for p:namespace-delete