[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: creating a collection from an archive

Subject: Re: creating a collection from an archive
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 Apr 2018 12:45:34 -0000
Re:  creating a collection from an archive
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 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.