Tests that bug #274 stays solved.
Test static-opt-001.xml is expected to pass.
<p:declare-step xmlns:cx="http://xmlcalabash.com/ns/extensions" xmlns:p="http://www.w3.org/ns/xproc" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="main" version="3.0">
<p:output port="result"/>
<p:option static="true" name="href-test" as="xs:string" required="false" select="resolve-uri('static-opt-001.xml', static-base-uri())">
</p:option>
<p:input port="source" primary="true" sequence="false" content-types="xml" href="{$href-test}">
</p:input>
<p:identity/>
</p:declare-step>
<s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<s:ns prefix="t" uri="http://xproc.org/ns/testsuite/3.0"/>
<s:pattern>
<s:rule context="/">
<s:assert test="t:test">The root is wrong.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Created test.