With-option 002

Tests XS0031 is raised, when p:with-option uses an undeclared option name.

Test ab-with-option-002.xml is expected to fail with error code err:XS0031.

The pipeline


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

Revision history

10 Aug 2018 18:12, Achim Berndzen

Some new and some changed tests