Support #6020


Internal file list optimizations in newer Saxon-J?

Added by Øyvind Liland Gjesdal about 1 year ago. Updated about 1 year ago.

Start date:
Due date:
% Done:


Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:


We have a legacy job running Saxon-EE-J 9-5-1-5 with java version openjdk 11.0.18 2023-01-17 LTS which may have grown out of it's size, after doing the job for many years.

This makes extensive use of the extension functions file:list, file:is-dir and file:list-modified for visiting folders on a path (Microsoft Netapp network system) and reading metadata on the files and folder contents.

I am wondering if there has been any unmentioned activity on these functions since 2013, which could positiviely impact the running of the job?

The only mention I found in the change logs was:

Some of the signatures of the functions in the proposed EXPath file module (see, implemented in Saxon-PE/EE, have altered.

We have a newer not used EE-license (before 15 nov 2020) that we could try out.

Thanks for any info. Øyvind

Actions #1

Updated by Michael Kay about 1 year ago

Saxon 9.5 first came out just over ten years ago, and there has of course been a lot of change in that time. In the EXPath file module specifically, the changes are probably largely confined to handling of bugs and edge cases, but there may also have been some spec clarifications. The EXPath File Module 1.0 specification is dated 2015, which is a little bit later than Saxon 9.5, so 9.5 would have been implementing a draft version of the specification.

It's a long time period and I can't really do any research on your behalf, nor can I rely much on memory. Hopefully you have regression tests for your code so the simplest thing is to run those tests with a newer Saxon release and see what happens.

Actions #2

Updated by Michael Kay about 1 year ago

  • Tracker changed from Extensions to Support
Actions #3

Updated by Michael Kay about 1 year ago

  • Status changed from New to Closed

Closing this; I have done my best to answer the questions.

Please register to edit this issue

Also available in: Atom PDF