p:choose-010 (AB)

Tests XD0001 is raised if no context item is given for p:when/@test

Test ab-choose-010.xml is expected to fail with error code err:XD0001.

The pipeline

        <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
            <p:output port="result"/>
                <p:when test="/doc">
                        <p:with-input><doc1 xmlns=""/></p:with-input>
                        <p:with-input><doc2 xmlns=""/></p:with-input>
MorganaXProc passing

Revision history

22 Apr 2019, Achim Berndzen

Changed error code because now we have XD0001 to cover this case.

05 Apr 2019, Achim Berndzen

New tests