Feature #4838
closedRecognizing ZIP collections
100%
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.
Updated by Michael Kay over 3 years ago
- Status changed from New to Resolved
- Applies to branch 10, trunk added
- Fix Committed on Branch 10, trunk added
Implemented on the 10 and devt branches; JUnit test added to TestCollections.
Updated by O'Neil Delpratt almost 3 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 10.5 added
Bug fix applied to Saxon 10.5 maintenance release.
Please register to edit this issue