p:choose-001 (AB)

Tests XS0074 is raised if p:choose has neither a p:when nor a p:otherwise

Test ab-choose-001.xml is expected to fail with error code err:XS0074.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:identity>
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:identity>
   <p:choose/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

05 Apr 2019, Achim Berndzen

New tests