p:choose-043 (AB)

Test XS0038 is raised, if @test is missing on p:when

Test is expected to fail with error code err:XS0038.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:output port="result"/>
   <p:identity>
      <p:with-input>
         <doc1/>
      </p:with-input>
   </p:identity>
   <p:choose>
      <p:when>
         <p:identity>
            <p:with-input>
               <correct/>
            </p:with-input>
         </p:identity>
      </p:when>
   </p:choose>
</p:declare-step>

Revision history

05 Apr 2019, Achim Berndzen
New tests