OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: RFC: Attributes and XML-RPC

[ Lists Home | Date Index | Thread Index ]
  • From: Tyler Baker <tyler@infinet.com>
  • To: Julian Reschke <reschke@medicaldataservice.de>
  • Date: Sun, 26 Sep 1999 04:04:08 -0400

Julian Reschke wrote:
 I find this way surprising. Yes, it's clear that opening and closing tags compress well, but I would still have expected the attribute version to be smaller... 


Each quote (2 of them), comma, equal, and attribute name take up 5-10 bytes for each attribute when mapped to a symbol table, while the element style takes up 2-4 bytes for the start tag and the end tag. The exact number of bytes used for each attribute or element is dependent on the compression algorithm and the number of different attribute or element names used. So it is no surprise to me that using GZIP produces a compressed attribute file that is larger (-:

Tyler





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS