Re: [xsl] creating a collection from an archive

Subject: Re: [xsl] creating a collection from an archive
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Apr 2018 20:45:11 -0000
It's a strange error, and I can't reproduce it.

Any chance you could send me a repro?

Michael Kay

> On 20 Apr 2018, at 13:45, Graydon graydon@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Apr 19, 2018 at 09:09:30PM -0000, Michael Kay mike@xxxxxxxxxxxx
> scripsit:
>> Try renaming the .docx file with a .jar or .zip file extension and
>> then using it directly as the collection URI - Saxon should recognize
>> it and give you access to the contained files as a collection.
> Almost --
> Engine name: Saxon-PE
> Severity: error
> Description: (class: net/sf/saxon/resource/JarCollection$JarIterator,
method: advance signature: ()V) Stack size too large
> For either .jar or .zip file names.  The same Word file, if I unpack it
> into a directory, loads fine via the collection invocation:
> <xsl:variable name="wordArchive" as="document-node()+"
> select="collection(concat($wordArchiveURI,'?recurse=yes;select=*.xml'))"/>
> (Which is the same as what I'm trying on the zip file.)
> I have the feeling I might need to set a parser, but no idea what it
> should be?
> Thanks!
> Graydon

Current Thread