p:namespace-rename-020 (AB)

Test attributes are unique after renaming/removing namespace.

Test ab-namespace-rename-020.xml is expected to fail with error code err:XC0092.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
            
         <p:namespace-rename to="http://new">       
            <p:with-input>
               <doc xmlns:y="http://new" xmlns="" a="5" y:a="5"/>
            </p:with-input>
         </p:namespace-rename>
         
      </p:declare-step>
   
MorganaXProc passing XML Calabash passing

Revision history

17 May 2019, Achim Berndzen

Additional tests for p:namespace-rename