p:directory-list (BaseX) 021 (AB)

Tests p:directory-list: Wrong value for max-depth

Test basex-directory-list-021.xml is expected to fail with error code err:XD0028.

It requires the following features: basex-collector or p:directory-list.

The pipeline

<p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:directory-list path="basex://XProcUnitTestDB/testfolder" max-depth="unlimited"/>
</p:declare-step>

Revision history

25 Oct 2026, Norm Tovey-Walsh

Transformed mechanically from ab-directory-list-021.xml