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

Re: Packaging (was Re: Interoperability)


Re:  Packaging (was Re:  Interoperability)
On Fri, Nov 16, 2001 at 05:31:47AM -0800, David Brownell wrote:
> David Megginson wrote:
> > It makes sense because it's widely deployed and proven to work (as
> > most of you know, Java's JAR format is zip-based).  The problem is
> > that ZIP is non-streaming -- you have to download the entire zip file
> > before you can start processing it, since the directory information is
> > at the end.  Until we know what people are actually going to do with
> > this stuff, it's hard to figure out the cost/benefit balance.

  The reason why ZIP was choosen over say zipped tar, is that at least
once it's available locally you can seek in the ZIP to the entry you're
interested into. Getting a package format which would be both streamable
and seekable might be an interesting challenge. Being able to seek is obviously
very important if you want to process large collections of packages
but are interested only in some kind of data (like a text indexer).

> To pick a nit, illustrate one of your point, and raise a question  ... :)
> 
>     - The JAR manifest is directory info that's required to be at
>       the beginning, specifically to avoid downloading the whole
>       thing before processing it.  (It's extensible metadata; ZIP is
>       short on certain kinds of metadata that's useful for stuff
>       like digital signatures.)

  Similary for the OpenOffice package, except the manifest is in XML
(hence extensible too which is very important if you want to add things
not present in an initial version like digital signatures). At least
that's what was discussed at the time, I didn't checked recently.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@r...  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.