<?xml-stylesheet type="text/xsl" href="/style/testcase.xsl"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite"
        xmlns:p="http://www.w3.org/ns/xproc"
        xmlns:c="http://www.w3.org/ns/xproc-step"
        xmlns:err="http://www.w3.org/ns/xproc-error">

  <t:title>Test wrap-sequence-005</t:title>
  
  <t:description xmlns="http://www.w3.org/1999/xhtml">                                                              
    <p>Tests the behavior of <code>p:wrap-sequence</code>
    on an empty sequence of input documents.</p>
  </t:description>     

  <t:pipeline>
    <p:declare-step version="1.0">
      <p:output port="result"/>

      <p:wrap-sequence wrapper="wrapper">
        <p:input port="source">
          <p:empty/>
        </p:input>
      </p:wrap-sequence>
    </p:declare-step>
  </t:pipeline>

  <t:output port="result">
    <wrapper/>
  </t:output>

</t:test>


