TVT test 001 (AB)

Tests TVTs.

Test ab-tvt-001.xml is expected to pass.

The pipeline

<p:declare-step xmlns:p="" xmlns:xs="" name="pipeline" version="3.0">
   <p:output port="result">
         <result>{{Hello}}{p:system-property('Q{}psvi-supported') castable as xs:boolean}</result>
MorganaXProc passing XML Calabash passing

Schematron validation

<s:schema xmlns="" xmlns:s="" queryBinding="xslt2">
   <s:ns prefix="c" uri="">
      <s:rule context="/">
         <s:assert test="result">Root element is not 'result'.</s:assert>
         <s:assert test="result/text()='{Hello}true'">The text child of result is not '{Hello}true'.</s:assert>

Revision history

10 Jun 2021, Achim Berndzen

Added attribute 'queryBinding' to schematron's schema.

05 Apr 2020, Achim Berndzen

Tests variable and fixed parts in TVT are correctly handled.