Access should fail if there’s no catalog for it.
Test catalog-001.xml is expected to fail with error code err:XD0049.
<p:declare-step xmlns:cx="http://xmlcalabash.com/ns/extensions" xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="main" version="3.0">
<p:output port="result" sequence="true"/>
<p:xslt>
<p:with-input port="source" href="../documents/catalog-sample.xml"/>
<p:with-input port="stylesheet" href="../documents/identity.xsl"/>
</p:xslt>
</p:declare-step>
Created test.