p:namespace-rename-019 (AB)

Test attributes are unique after renaming/removing namespace.

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

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-rename from="http://www.example.com/ns" to="http://new">
      <p:with-input>
         <doc xmlns:x="http://www.example.com/ns" xmlns:y="http://new" x: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