<?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:XS0035">

  <t:title>Test err:XS0035 #001</t:title>
  
  <t:description xmlns="http://www.w3.org/1999/xhtml">
    <p>It is a static error (err:XS0035) if the declaration
    of a parameter input port contains a binding; parameter
    input port declarations must be empty.</p>  
  </t:description>

  <t:pipeline>
    <p:declare-step version='1.0'>

      <p:input port="parameters" kind="parameter">
        <p:inline>
          <c:param-set>
            <c:param name="foo" value="bar"/>
          </c:param-set>
        </p:inline>
      </p:input>

      <p:output port="result"/>
      
      <p:identity>
        <p:input port="source">
          <p:empty/>
        </p:input>
      </p:identity>
    </p:declare-step>
  </t:pipeline>
  
</t:test>

