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

  <t:description>
    <p xmlns='http://www.w3.org/1999/xhtml'>It is an error to attempt
    to provide a binding for an input port on the declaration of an
    atomic step.</p>
  </t:description>
  
  <t:pipeline>
    <p:pipeline version='1.0' xmlns:foo="http://acme.com/test">
      
      <p:declare-step type="foo:test">
        <p:input port="source">
          <p:inline><doc/></p:inline>
        </p:input>
        <p:output port="result"/>
      </p:declare-step>
      
      <foo:test/>
      
    </p:pipeline>
  </t:pipeline>
  
</t:test>

