catalog-001

Access should fail if there’s no catalog for it.

Test is expected to fail with error code err:XD0049.

The pipeline

<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"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" 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>

Revision history

17 May 2025, Norm Tovey-Walsh
Created test.