Internal file list optimizations in newer Saxon-J?
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 http://www.expath.org/modules/file/), 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
Updated by Michael Kay 28 days 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.
Updated by Michael Kay 27 days ago
- Tracker changed from Extensions to Support
Please register to edit this issue