W3C home > Mailing lists > Public > ietf-discuss@w3.org > April 2001

Re: Two new drafts: Multipart/Interleaved and Application /BatchBeep

From: Jacob Palme <jpalme@dsv.su.se>
Date: Mon, 23 Apr 2001 22:01:28 +0200
Message-Id: <p05010409b70a32456eb1@[]>
To: discuss@apps.ietf.org
At 15.30 -0400 01-04-17, <don@lexmark.com> wrote:
>Tell me about it!!!!!  But if it doesn't use XML it isn't kewl and 
>therefore is
>unacceptable!  I proposed binary and was shot down immediately by the
>"politically correct" XML!

I made a test, where I encoded the same information using ASN.1,
ABNF (RFC822 style) and XML.

You can find it at

I compared how many octets had to be sent to transmit the
same information in some different formats:

Size       Encoding

100        ASN.1-PER
175        ASN.1-BER
550        ABNF, RFC822 style
830        XML

When shown such results, people often say "but XML can be packed".
So I tried packing the XML using the ZIP format. Small blocks of data
became longer, not shorter, when packed. So packing, at least
using ZIP, will not make XML more efficient except for rather
large files.
Jacob Palme <jpalme@dsv.su.se> (Stockholm University and KTH)
for more info see URL: http://www.dsv.su.se/jpalme/
Received on Monday, 23 April 2001 16:07:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:38:01 UTC