<?xml version="1.0" encoding="UTF-8"?>
<t:test expected="fail" code="err:XD0049"
        xmlns:err="http://www.w3.org/ns/xproc-error"
        xmlns:t="http://xproc.org/ns/testsuite/3.0">
  <t:info>
    <t:title>catalog-001</t:title>
    <t:revision-history>
      <t:revision>
        <t:date>2025-05-17</t:date>
        <t:author>
          <t:name>Norm Tovey-Walsh</t:name>
        </t:author>
        <t:description xmlns="http://www.w3.org/1999/xhtml">
          <p>Created test.</p>
        </t:description>
      </t:revision>
    </t:revision-history>
  </t:info>
  <t:description xmlns="http://www.w3.org/1999/xhtml">
    <p>Access should fail if there’s no catalog for it.</p>
  </t:description>
  <t:pipeline>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:cx="http://xmlcalabash.com/ns/extensions"
                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>
  </t:pipeline>
</t:test>
