Input 008

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

Test ab-input-008.xml is expected to fail with error code err:XS0030.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" 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 xmlns=""/>
                </p:with-input>
            </p:identity>
        </p:declare-step>
   
MorganaXProc passing XML Calabash passing

Revision history

15 Oct 2018, Norman Walsh

Fixed error code.

18 Mar 2018 07:41, Achim Berndzen

New tests. Some tests changed to new order in p:pipe