Static variables/option 013

Tests that two sibling steps can declare a static option with the same name.

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

The pipeline

<p:declare-step xmlns:dummy="http://dummy" xmlns:p="" name="main" version="3.0">
   <p:output port="result">
   <p:declare-step type="dummy:test1">
      <p:output port="result">
      <p:option static="true" name="static-option" select="13">
   <p:declare-step type="dummy:test2">
      <p:output port="result">
      <p:option static="true" name="static-option" select="14">
   <dummy:test1 name="one">
   <dummy:test2 name="two">
   <p:wrap-sequence wrapper="result">
      <p:with-input pipe="@one @two">
MorganaXProc passing XML Calabash failing

Schematron validation

<s:schema xmlns="" xmlns:s="" queryBinding="xslt2">
   <s:ns prefix="c" uri="">
      <s:rule context="/">
         <s:assert test="result">The pipeline root is not “result”.</s:assert>
         <s:assert test="result/doc1/text()='13'">Text child of doc1 is not
         <s:assert test="result/doc2/text()='14'">Text child of doc1 is not

Revision history

10 Jun 2021, Achim Berndzen

Added attribute 'queryBinding' to schematron's schema.

11 Oct 2018 18:16, Achim Berndzen

Initial test