<?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:XS0006">
<t:title>Test for err:XS0006 - 001</t:title>

<t:description xmlns="http://www.w3.org/1999/xhtml">
  <p>Tests if static error XS0006 is thrown if the primary output port has no binding and the last step in the subpipeline does not have a primary output port.</p>  
</t:description>

<t:input port="source">
  <doc xmlns=""/>
</t:input>

<t:pipeline>
	<p:declare-step version='1.0' name="pipeline"
	            xmlns:p="http://www.w3.org/ns/xproc">
	<p:input port="source"/>
	<p:output port="result"/>
	<p:sink/>
</p:declare-step>
</t:pipeline>

</t:test>

