[JDEV] Binary XML useful for Jabber?

David_Lucek at 3com.com David_Lucek at 3com.com
Tue May 22 17:20:27 CDT 2001




Someone asked about a link to the WAP Binary XML specification,  here it is:

http://www.w3.org/TR/wbxml/

I was thinking that for large XML structures moving to binary XML might be
useful.    The encode and decode times for a short message or stream might
not warrent using something like binary XML or similar compression technology.

Dave L





Jens Alfke <jens at mooseyard.com> on 05/22/2001 01:02:03 PM

Please respond to jdev at jabber.org

Sent by:  Jens Alfke <jens at mooseyard.com>


To:   jdev at jabber.org
cc:    (David Lucek/MW/US/3Com)
Subject:  Re: [JDEV] Binary XML useful for Jabber?


-------------- next part --------------



On Tuesday, May 22, 2001, at 09:29 AM, Thomas Charron wrote:

>     There is also the fact that by leaving the XML as ASCII, it leaves
> the
> transmission hardware to actually compress the data.  Binary data is
> much
> harder to compress then raw ASCII.

Yes, but the binary data would already be compressed much further than
ASCII could be. For example, the tokenization would compress a long
attribute name like "jabber:iq:conference" down to something like two
bytes.

One has to assume that the WAP people considered general compression vs.
tokenization, and that they went with the latter because it offered
better compression.

?Jens
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://www.jabber.org/jdev/attachments/20010522/131fa42f/attachment-0002.txt>


More information about the JDev mailing list