xsl-list
[Top] [All Lists]

Re: [xsl] creating a collection from an archive

2018-04-20 15:45:17
It's a strange error, and I can't reproduce it.

Any chance you could send me a repro?

Michael Kay
Saxonica

On 20 Apr 2018, at 13:45, Graydon graydon(_at_)marost(_dot_)ca 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

On Thu, Apr 19, 2018 at 09:09:30PM -0000, Michael Kay 
mike(_at_)saxonica(_dot_)com
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 9.8.0.8
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

--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>