Option declaration 030

Checks XS0095 is raised, if option is declared required and static.

Test ab-option-030.xml is expected to fail with error code err:XS0095.

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:option name="option" required="true" static="true"/>
   <p:identity>
      <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