basex-href-002

Tests that a missing document is a file-not-found error.

Test basex-href-002.xml is expected to fail with error code err:XD0011.

It requires the following features: basex-collector.

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" 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>

Revision history

29 Oct 2025, Norm Tovey-Walsh

Created test.