<?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-001</t:title>

<t:input port='source'>
<doc/>
</t:input>

<t:pipeline>
<p:pipeline version='1.0' name="pipeline">

<p:identity name="identity">
  <p:input port="source">
    <p:pipe step="pipeline" port="source"/>
    <p:pipe step="pipeline" port="source"/>
    <p:pipe step="pipeline" port="source"/>
    <p:pipe step="pipeline" port="source"/>
  </p:input>
</p:identity>

<p:wrap-sequence name="splitseq" wrapper="p:pipe-sequence"/>

</p:pipeline>
</t:pipeline>

<t:output port='result'>
<p:pipe-sequence><doc/><doc/><doc/><doc/></p:pipe-sequence></t:output>

</t:test>

