p:with-option 011 (AB)

Tests XS0031 is raised for undeclared option in a namespace.

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

The pipeline


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

Revision history

04 Apr 2022, Achim Berndzen

New test.