Re: feeding docx into collection()

Graydon Saunders <[email protected]> Wed, 25 Nov 2020 10:40:23 -0500
Newsgroups gmane.text.xml.saxon.help
Message-ID <CAO3ciQEQH+djUOmK6SSpN9iej0fkKcgG+H6DzZ3phBLTFHyCkw@mail.gmail.com>
Much appreciated!

On Wed, Nov 25, 2020 at 10:17 AM Michael Kay <mike-JkSD5nQpfvpWk0Htik3J/[email protected]> wrote:

> I'll add a configuration property along the lines ZIP_URI_PATTERN =
> "^jar|\.zip|\.jar" allowing you to set a configuration property for
> deciding what URIs to treat as ZIP/JAR file URIs.
>
> Michael Kay
> Saxonica
>
> On 25 Nov 2020, at 01:29, Graydon Saunders <[email protected]> wrote:
>
> Hello --
>
> https://www.saxonica.com/html/documentation/sourcedocs/collections.html
>
> says
>
> 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?
>
> Thanks!
> Graydon
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/saxon-help
>
>
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/saxon-help

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help