p:replace-007 (AB)

Tests p:replace

Test ab-replace-007.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="/">
            <p:with-input port="source">
               <doc xmlns=""/>
            </p:with-input>
            <p:with-input port="replacement">
               <new-element xmlns=""><element/></new-element>
            </p:with-input>
         </p:replace>         
      </p:declare-step>
   
MorganaXProc passing

Revision history

18 May 2019, Achim Berndzen

New tests for p:replace