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

  <t:description xmlns="http://www.w3.org/1999/xhtml">
    <p>It is a static error if the specified port is not
    a parameter input port or if no port is specified and
    the step does not have a primary parameter input port.</p>
  </t:description>
  
  <t:input port="source">
    <doc/>
  </t:input>
  
  <t:pipeline>
    <p:pipeline version='1.0'>
      <p:xslt>
        <p:input port="stylesheet">
          <p:inline>
            <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                            version="1.0"/>
          </p:inline>
        </p:input>

        <p:with-param name="foo" select="'bar'" port="source">
          <p:empty/>
        </p:with-param>
      </p:xslt>
    </p:pipeline>
  </t:pipeline>
  
</t:test>

