Tests p:rename
Test ab-rename-010.xml is expected to fail with error code err:XC0023 [Core steps, XProc]
.
<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>
<document xmlns:err="http://www.w3.org/ns/xproc-error">
<element><!-- comment --></element>
</document>
Additional tests for p:rename