<?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:px="http://xproc.dev.java.net/ns/extensions"
      xmlns:c="http://www.w3.org/ns/xproc-step"
      xmlns:err="http://www.w3.org/ns/xproc-error"
      error="err:XS0011">
  <t:title>Test err:XS0011 #004</t:title>

  <t:description xmlns="http://www.w3.org/1999/xhtml">
  <p>It is a static error to identify two ports with the same name on the same step.</p>
  </t:description>

  <t:input port="source">
    <doc>
      <para>Some text.</para>
    </doc>
  </t:input>
  
  <t:pipeline>
    <p:pipeline version='1.0'>

      <p:for-each>
        <p:output port="current"/>
        <p:identity/>
      </p:for-each>

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