<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-text-replace-058.xml"
        name="ab-text-replace-058.xml"
        expected="fail"
        code="err:XD0030">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>p:text-replace 058 (AB)</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2019-05-31</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Tests for p:text-replace</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:err="http://www.w3.org/ns/xproc-error">
      <p>Tests p:text-replace (ported from XQuery tests on fn-replace.</p>
   </t:description>
   <t:pipeline xmlns:err="http://www.w3.org/ns/xproc-error">
      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         <p:text-replace pattern="pattern" replacement="replacement" flags="X">
            <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>
   </t:pipeline>
</t:test>
