nw-directory-list-001

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

Test nw-directory-list-001.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"/>
</p:declare-step>

Revision history

17 Nov 2026, Norm Tovey-Walsh

Initial commit.