<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
   xmlns:err="http://www.w3.org/ns/xproc-error"
   expected="fail" code="err:XC0023">
   <t:info>
      <t:title>p:unwrap 010 (AB)</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2019-06-16</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:unwrap (Partly ported from 1.0)</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml">
      <p>Tests p:unwrap</p>
   </t:description>
   <t:input port='source'>
      <doc a="1">
         <!-- comment -->
         <?pi target ?>
         Some text.</doc>
   </t:input>
   
   <t:pipeline>
      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
         <p:input port="source" />
         <p:output port="result"/>
         
         <p:unwrap match="processing-instruction()" />
      </p:declare-step>
   </t:pipeline>
</t:test>