ab-directory-list-060

Tests p:directory-list attempting to read an unreadable sub-directory.

Test ab-directory-list-060.xml is expected to fail with error code err:XC0012.

It requires the following features: 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="../testfolder" max-depth="unbounded" ignore-unreadable-directories="false"/>
</p:declare-step>

Revision history

04 Dec 2026, Achim Berndzen

Added new option ignore-unreadable-directories.

21 Nov 2026, Achim Berndzen

Initial commit.