Feature #4838
Updated by Michael Kay over 3 years ago
Graydon Saunders asked on the saxon-help list: > A *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? 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.