p:replace-008 (AB)

Tests p:replace

Test ab-replace-008.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:output port="result"/>
   <p:replace match="@a">
      <p:with-input port="source">
         <doc a="4"/>
      </p:with-input>
      <p:with-input port="replacement">
         <new-element>
            <element/>
         </new-element>
      </p:with-input>
   </p:replace>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

18 May 2019, Achim Berndzen

New tests for p:replace