Tests that a BaseX URI can be resolved by the document resolver.
Test basex-href-001.xml is expected to pass.
It requires the following features: basex-collector.
<p:declare-step xmlns:cx="http://xmlcalabash.com/ns/extensions" xmlns:p="http://www.w3.org/ns/xproc" name="main" version="3.0">
<p:output port="result" sequence="true"/>
<p:identity>
<p:with-input href="basex://XProcUnitTestDB/testfolder/file.xml"/>
</p:identity>
</p:declare-step>
<s:schema xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<s:pattern>
<s:rule context="/">
<s:assert test="doc = 'It worked.'">The result is wrong.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Created test.