p:rename-011 (AB)

Tests p:rename

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

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 xmlns:x="http://dummy" match="processing-instruction()" new-name="x:dummy"/>
</p:declare-step>
MorganaXProc passing XML Calabash failing

Inputs

port = source


<document xmlns:err="http://www.w3.org/ns/xproc-error">
   <element><?pi target?></element>
</document>

Revision history

18 May 2019, Achim Berndzen

Additional tests for p:rename