p:text-replace 056 (AB)

Tests p:text-replace (ported from XQuery tests on fn-replace.

Test ab-text-replace-056.xml is expected to fail with error code err:XD0030.

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:text-replace pattern="pattern" replacement="replacement" flags=" ">
      <p:with-input>
         <p:inline content-type="text/plain">input</p:inline>
      </p:with-input>
   </p:text-replace>
   <p:wrap-sequence wrapper="text"/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

31 May 2019, Achim Berndzen

Tests for p:text-replace