Actions
Feature #4838
closedRecognizing ZIP collections
Start date:
2020-11-25
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
10, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:
Platforms:
Description
Graydon Saunders asked on the saxon-help list:
A URI is recognized as a ZIP or JAR file URI if the scheme name is "jar", or if the file extension is "zip" or "jar".
Which means that I need to rename a docx archive to have a ".zip" suffix if I want to open it with collection(). Which is not especially challenging but which lacks elegance.
Is there a way to explain to collection() that this URI is a zip archive, irrespective of suffix?
I propose to add a configuration property ZIP_URI_PATTERN as a regular expression that can be used to decide whether a collection URI is to be treated as a zip file.
Please register to edit this issue
Actions