Static options 054

Tests static option set by test runner.

Test ab-static-option-var-054.xml is expected to pass.

The pipeline

<p:declare-step xmlns:p="" name="main" version="3.0">
   <p:output port="result"/>
   <p:option name="static" static="true" select="99"/>
MorganaXProc passing XML Calabash failing



select = 42

Schematron validation

<s:schema xmlns="" xmlns:s="" queryBinding="xslt2">
      <s:rule context="/">
         <s:assert test="doc">The document root is not 'doc'.</s:assert>
         <s:assert test="doc/text()='42'">The text value of doc is not the right answer.</s:assert>

Revision history

01 Feb 2022, Achim Berndzen

Test added.