p:choose-041 (AB)

Test XD0001 is raised if sequence appears for p:when/@test and @collection is missing

Test ab-choose-041.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"/>
                    <doc1 xmlns=""/>
                    <doc2 xmlns=""/>
                <p:when test=".">
                        <p:with-input><correct xmlns=""/></p:with-input>
MorganaXProc passing XML Calabash passing

Revision history

22 Apr 2019, Achim Berndzen

Adapted test to new context item strategy, new error code.

05 Apr 2019, Achim Berndzen

New tests