<?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 versioning #001</t:title>

<t:description xmlns="http://www.w3.org/1999/xhtml">
  <p>Forwards-compatible mode: Unknown output ports produce
  empty sequences.</p>  
</t:description>

<t:pipeline>
<p:declare-step version="2.0">
  <p:output port="result"/>
 
  <p:identity name="identity">
    <p:input port="source">
      <p:inline>
        <doc/>
      </p:inline>
    </p:input>
  </p:identity>

  <p:sink/>

  <p:count>
    <p:input port="source">
      <p:pipe step="identity" port="new-output-port"/>
    </p:input>
  </p:count>

</p:declare-step>
</t:pipeline>

<t:output port="result"><c:result>0</c:result></t:output>

</t:test>
