Tests tvt on p:input's default binding
Test ab-input-024.xml is expected to pass.
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:option name="option" select="'option value'" static="true"/>
<p:input port="source">
<doc>{$option}</doc>
</p:input>
<p:output port="result"/>
<p:identity/>
</p:declare-step>
<s:schema xmlns="http://www.w3.org/1999/xhtml" xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<s:pattern>
<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>
</s:rule>
</s:pattern>
</s:schema>
Added attribute 'queryBinding' to schematron's schema.
Some tests changed and new tests
New tests. Some tests changed to new order in p:pipe