p:choose-005 (AB)

Tests XS0102 is raised if alternative subpipelines have different primary output ports.

Test ab-choose-005.xml is expected to fail with error code err:XS0102.

The pipeline

        <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
            <p:output port="result"/>
            <p:declare-step type="test:step">
                <p:output port="result" primary="false"/>
                    <p:with-input><result xmlns=""/></p:with-input>
                <p:with-input><doc xmlns=""/></p:with-input>
                <p:when test="/doc">
                <p:when test="true()">
                    <test:step xmlns:test="http://test"/>
MorganaXProc passing XML Calabash passing

Revision history

05 Apr 2019, Achim Berndzen

New tests