<?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:XD0003">

  <t:title>Test err:XD0003</t:title>
  
  <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:viewport match="para">
        <p:identity>
          <p:input port="source">
            <p:inline><foo/></p:inline>
          </p:input>
        </p:identity>
      </p:viewport>

    </p:declare-step>
  </t:pipeline>

</t:test>

