p:if-005 (AB)

Test XS0108 is raised, if the p:if step does not specify a primary output port (implicit).

Test ab-if-005.xml is expected to fail with error code err:XS0108.

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" sequence="true"/>
   <p:identity>
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:identity>
   <p:if test="." name="if">
      <p:identity/>
      <p:sink/>
   </p:if>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

06 Apr 2019, Achim Berndzen

New tests