<?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:XS0001">
  <t:title>Test for err:XS0001 #011</t:title>
  
  <t:input port="source">
    <doc/>
  </t:input>

  <t:pipeline>
    <p:pipeline version='1.0'>
      <p:choose name="step">
        <p:when test="1 = 1">
          <p:xpath-context>
            <p:pipe step="following" port="result"/>
          </p:xpath-context>
          <p:identity>
            <p:input port="source">
              <p:inline><doc/></p:inline>
            </p:input>
          </p:identity>
        </p:when>
      </p:choose>
      <p:identity name="following"/>
    </p:pipeline>
  </t:pipeline>

</t:test>


