Test that a pipeline with no outputs works.
Test pipelineception-008.xml is expected to pass.
<p:declare-step xmlns:ex="http://example.com/ns" xmlns:map="http://www.w3.org/2005/xpath-functions/map" xmlns:p="http://www.w3.org/ns/xproc" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-inline-prefixes="#all" name="main" version="3.0">
<p:output port="result" sequence="true"/>
<p:declare-step type="ex:test-pipeline">
<p:identity>
<p:with-input>
<test-output/>
</p:with-input>
</p:identity>
<p:sink/>
</p:declare-step>
<p:identity>
<p:with-input>
<wrapper>{map:size(ex:test-pipeline())}</wrapper>
</p:with-input>
</p:identity>
</p:declare-step>
<s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<s:ns prefix="svg" uri="http://www.w3.org/2000/svg"/>
<s:pattern>
<s:rule context="/">
<s:assert test="wrapper">The root is wrong.</s:assert>
<s:assert test="wrapper/. = '0'">The content is wrong.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Created test.