<?xml-stylesheet type="text/xsl" href="/style/testcase.xsl"?>
<test xmlns="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:XS0030">
<title>Test for multiple primary inputs</title>

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

<pipeline>
  <p:pipeline name="pipeline" version='1.0'>

    <p:declare-step type="px:irrelevant">
      <p:input port="source" primary="true"/>
      <p:input port="alternate" primary="true"/>
    </p:declare-step>

    <p:identity name="stepname"/>

    <p:count name="stepname"/>

  </p:pipeline>
</pipeline>

</test>

