ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

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

Re: Binary XML == "spawn of the devil" ?


spawn zip
On Tue, Aug 05, 2003 at 05:16:39AM +1000, Rick Jelliffe wrote:
> [...] the current web infrastructure
> (HTTP's MIME header's view of compression of text/* and the widespread
> availability of ZIP decoders on HTTP clients) has a certain level of
> support for ZIP already. It is an important aspect.

Just a note of clarification here...
gzip, bzip2 and ZIP are all different compression systems.

Zip (widely used in the Microsoft Windows and MS-DOS worlds) puts
a table of contents at the end of the data stream.  This reduces
memory overhead in the compressor, but makes ZIP unsuitable in many
cases for streaming.

The GNU zip program, gzip, is actually not a plugin replacement for
programs such as pkzip, winzip and zip.  It compresses a single file,
but supports streaming decompression.

bzip2 is similar to gzip.  It often gets better compression, at the
expense of higher CPU and/or memory usage.  With the most widespread
implementation of bzip2, decompression can require over 3.4 megabytes
of memory; reducing the block size from the default during compression
will reduce this, at the expense of needing more CPU time.

Web servers usually use gzip (e.g. for Apache, install mod_gzip).

> So a programmer serializing non-XML data may face the choice:
>  1) generate XML text, and compress. Send to a vanilla client which
>     understands ZIP
>  2) generate some binary (e.g. ASN.1 BER or PER), maybe compress, send to 
>     to [a] special purpose client, maybe which needs to be told to
>     uncompress too somehow.
> 
> These are completely different approaches at an architectural level, and no
> cause to make anyone sick.

Agreed.

I just wanted to rein in on the loose use of "ZIP" a little.

Best,

Liam

-- 
Liam Quin, W3C XML Activity Lead, liam@w..., http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/
Ankh's list of IRC clients: http://www.valinor.sorcery.net/clients/

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.