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: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')">
MorganaXProc passing XML Calabash passing


port = source

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

Revision history

28 Jun 2019, Achim Berndzen

Fix tests by removing AVT

18 May 2019, Achim Berndzen

Additional tests for p:rename