Tests p:rename
Test ab-rename-013.xml is expected to fail with error code err:XC0013
.
<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="processing-instruction()">
<p:with-option name="new-name" select="QName('http://dummy','x')"/>
</p:rename>
</p:declare-step>
<document xmlns:err="http://www.w3.org/ns/xproc-error">
<element><?pi target?></element>
</document>
Fix tests by removing AVT
Additional tests for p:rename