Input 024

Tests tvt on p:input's default binding

Test ab-input-024.xml is expected to pass.

The pipeline

<p:declare-step xmlns:p="" version="3.0">
   <p:option name="option" select="'option value'" static="true">
   <p:input port="source">
   <p:output port="result">
MorganaXProc passing XML Calabash passing

Schematron validation

<s:schema xmlns="" xmlns:s="" queryBinding="xslt2">
      <s:rule context="/">
         <s:assert test="doc">The root is not doc.</s:assert>
         <s:assert test="count(doc/node())=1">The root element does not have exactly one child.</s:assert>
         <s:assert test="doc/text() = 'option value'">doc-element does not contain 'option value'.</s:assert>

Revision history

10 Jun 2021, Achim Berndzen

Added attribute 'queryBinding' to schematron's schema.

15 Sep 2018 11:06, Achim Berndzen

Some tests changed and new tests

18 Mar 2018 07:41, Achim Berndzen

New tests. Some tests changed to new order in p:pipe