Input 008

Tests that err:XS0030 is raised when two input ports are declared as primary.

Test is expected to fail with error code err:XS0030.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:input port="source" primary="true"/>
   <p:input port="alternate" primary="true"/>
   <p:output port="result"/>
   <p:identity>
      <p:with-input port="source">
         <doc/>
      </p:with-input>
   </p:identity>
</p:declare-step>

Revision history

15 Oct 2018, Norman Walsh
Fixed error code.
18 Mar 2018, Achim Berndzen
New tests. Some tests changed to new order in p:pipe