p:rename-013 (AB)

Tests p:rename

Test ab-rename-013.xml is expected to fail with error code err:XC0013.

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="processing-instruction()">
            <p:with-option name="new-name" select="QName('http://dummy','x')"/>
         </p:rename>  
      </p:declare-step>
   
MorganaXProc passing XML Calabash passing

Inputs

port = source


      <document>
         <element/>
      </document>
   

Revision history

28 Jun 2019, Achim Berndzen

Fix tests by removing AVT

18 May 2019, Achim Berndzen

Additional tests for p:rename