Tests that the primary output port of the last step of a subpipeline is not connected to the pipelines primary output port, if the later has an explicit connection.
Test ab-connection-007.xml is expected to pass.
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result" primary="true">
<p:pipe step="one" port="result"/>
</p:output>
<p:identity name="one">
<p:with-input port="source">
<one/>
</p:with-input>
</p:identity>
<p:identity name="two">
<p:with-input>
<two/>
</p:with-input>
</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="one">The root is not one.</s:assert>
<s:assert test="count(one/node())=0">The root element does not have children.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Added attribute 'queryBinding' to schematron's schema.
Some tests changed and new tests
Fix namespace declarations
Creating new tests, extending rng and corrected xproc's test