XProc specifications published by continuous integration on 23 Nov 2026 for PR 156.
This PR proposes to add another option to p:directory-list.
The current state is a bit disappointing when used to list deeply structured directories which contain not accessable content. This is quite often true on MacOS if you run the pipeline in user-mode with directories containing system- or admin-directories.
Every attempt to use p:directory-list in the current state results in XC0012 to do raised. I am not sure how the situation is on Windows, but I am pretty sure Linux-users have this problems too.
With this proposal a new option "ignore-unreadable-directories" pipeline authors have control whether this error is raises (as before) or whether no attempt to access the directory's content is made. In the later case only a <c:directory> is created for the relevant directory. I think this proposal is an important progress for pipeline author's having to do bulk processing an deeply structured directories.
One point may be open to discussion: What does the new option defaults to? In my proposal it defaults to "true" which is the useful behaviour when writing pipelines. Additionally it does not break existing pipelines on MorganaXProc-III which ignored unaccessable directory due to a bug. On the other hand using "false" as default value is more inline with the specification and is guaranteed not to break a pipeline on a conformant processor. Any thought or suggestions welcome, Achim
Specifications marked with ⏵ are likely to have been changed by this commit.
According to git, the following sources were changed by this commit:
build.gradle.ktscommon/src/main/xml/bibliography.xmlsteps/src/dfdl/xml/ancillary.xmlsteps/src/dfdl/xml/conformance.xmlsteps/src/dfdl/xml/specification.xmlsteps/src/file/xml/specification.xml5bc8e0ef1c03d4c6331a33e028e9db77b7c9e4ba