p:rename-010 (AB)

Tests p:rename

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

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:input port="source"/>
   <p:output port="result"/>
   <p:rename match="/" new-name="dummy"/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Inputs

port = source


<document xmlns:err="http://www.w3.org/ns/xproc-error">
   <element><!-- comment --></element>
</document>

Revision history

18 May 2019, Achim Berndzen

Additional tests for p:rename