p:rename-009 (AB)

Tests p:rename

Test ab-rename-009.xml is expected to fail with error code err:XC0023 [XProc, Core steps].

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:input port="source"/>
         <p:output port="result"/>
            
         <p:rename match="element/comment()" new-name="dummy"/>
      </p:declare-step>
   
MorganaXProc passing

Inputs

port = source


      <document>
         <element/>
      </document>
   

Revision history

18 May 2019, Achim Berndzen

Additional tests for p:rename