[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: "Binary XML" proposals
- From: Danny Ayers <danny@panlanka.net>
- To: "Christopher R. Maden" <crism@maden.org>, xml-dev@lists.xml.org
- Date: Wed, 11 Apr 2001 14:55:09 +0600
If reducing bandwidth is the main requirement then I would have thought
gzip-ing would be an ideal solution. Standard format, and the codec could be
put inline fairly transparently (though didn't someone mention http 1.1
supports compression itself????) :
XML -> gzip -> http or whatever -> gzip -> XML
API's for gzip are readily available - e.g. GZIPInputStream etc in core Java
2.
---
Danny Ayers
http://www.isacat.net
<- -----Original Message-----
<- From: Christopher R. Maden [mailto:crism@maden.org]
<- Sent: 11 April 2001 02:31
<- To: xml-dev@lists.xml.org
<- Subject: RE: "Binary XML" proposals
<-
<-
<- At 07:35 10-04-2001, Al Snell wrote:
<- >In *my* binary XML format project
<-
<- Therein, I think, lies the rub.
<-
<- As you noted, any binary XML format must contain exactly as much
<- information as the text form. That means that a sufficiently good
<- compression algorithm combined with the text form will be as
<- compact as the
<- directly binary form. On the other hand, if I get "XML", I can open it,
<- examine it, and in the absence of any other information, take a
<- pretty good
<- guess at its meaning (as Walter Perry is so fond of pointing out). If I
<- get compressed data in some well-known form, like gzip, I can
<- uncompress it
<- pretty easily. If I get Al's Binary Structure Format, what the
<- heck do I
<- do with it? The drawbacks seem prohibitive and the benefits minimal.
<-
<- -Chris
<- --
<- Christopher R. Maden, XML Consultant
<- DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<- <URL: http://crism.maden.org/consulting/ >
<- PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA
<-
<-
<- ------------------------------------------------------------------
<- The xml-dev list is sponsored by XML.org, an initiative of OASIS
<- <http://www.oasis-open.org>
<-
<- The list archives are at http://lists.xml.org/archives/xml-dev/
<-
<- To unsubscribe from this elist send a message with the single word
<- "unsubscribe" in the body to: xml-dev-request@lists.xml.org
<-