<?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"
        error="err:XD0006">

  <t:title>Test exec-015</t:title>
  
  <t:description xmlns="http://www.w3.org/1999/xhtml">
    <p>It is a dynamic error (err:XD0006) if more than one
    document appears on the source port of the p:exec step.</p>  
  </t:description>

  <t:input port="source">
    <t:document>
      <doc/>
    </t:document>
    <t:document>
      <doc/>
    </t:document>
  </t:input>
  
  <t:pipeline>
    <p:declare-step version='1.0'>
      <p:input port="source" sequence="true"/>
      <p:output port="result"/>
      
      <p:exec name="exec" command="/bin/cat"/>
    </p:declare-step>
  </t:pipeline>
  
</t:test>

