p:choose-013 (AB)

Tests that p:whens are not sibling steps in the usual sense (not visible, so XS0022 is raised).

Test ab-choose-013.xml is expected to fail with error code err:XS0022.

The pipeline

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

Revision history

05 Apr 2019, Achim Berndzen

New tests