p:text-replace 059 (AB)

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

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

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
            
         <p:text-replace pattern="pattern" replacement="thisIsInvalid\">
            <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