p:replace-008 (AB)

Tests p:replace

Test ab-replace-008.xml is expected to fail with error code err:XC0023 [XProc, Core steps].

The pipeline


      <p:declare-step 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 xmlns="" a="4"/>
            </p:with-input>
            <p:with-input port="replacement">
               <new-element xmlns=""><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