You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Henning von Bargen <H....@Triestram-Partner.de> on 2000/07/12 11:40:47 UTC

AW: Off-Topic: Is there any standard compressed ASCII format for valid XML documents?


> -----Ursprüngliche Nachricht-----
> Von:	Stefano Mazzocchi [SMTP:stefano@apache.org]
> Gesendet am:	Dienstag, 11. Juli 2000 14:49
> An:	cocoon-users@xml.apache.org
> Betreff:	Re: Off-Topic: Is there any standard compressed ASCII format
for valid  XML documents?
> 
> Henning von Bargen wrote:
> > 
> > Hi folks,
> > I know this is off-topic, but there are so many XML experts here, so I
hope
> > I'll get an answer.
> > 
> > Is there any "standard" format for compressing XML files?
> 
> XMill
>
>  ...
> 
> Sorry, but I don't remember the URL... try searching for it...
> 

http://www.research.att.com/sw/tools/xmill/

I'll download and have a look at it.
Question is, will web servers and browsers sooner or later support
XMill-(de)compression on the fly?

> -- 
> Stefano Mazzocchi      One must still have chaos in oneself to be
>                           able to give birth to a dancing star.
> <st...@apache.org>                             Friedrich Nietzsche
> --------------------------------------------------------------------
>  Missed us in Orlando? Make it up with ApacheCON Europe in London!
> ------------------------- http://ApacheCon.Com ---------------------
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

Re: AW: Off-Topic: Is there any standard compressed ASCII format for valid XML documents?

Posted by Stefano Mazzocchi <st...@apache.org>.
Henning von Bargen wrote:
> 
> > -----Ursprüngliche Nachricht-----
> > Von:  Stefano Mazzocchi [SMTP:stefano@apache.org]
> > Gesendet am:  Dienstag, 11. Juli 2000 14:49
> > An:   cocoon-users@xml.apache.org
> > Betreff:      Re: Off-Topic: Is there any standard compressed ASCII format
> for valid  XML documents?
> >
> > Henning von Bargen wrote:
> > >
> > > Hi folks,
> > > I know this is off-topic, but there are so many XML experts here, so I
> hope
> > > I'll get an answer.
> > >
> > > Is there any "standard" format for compressing XML files?
> >
> > XMill
> >
> >  ...
> >
> > Sorry, but I don't remember the URL... try searching for it...
> >
> 
> http://www.research.att.com/sw/tools/xmill/
> 
> I'll download and have a look at it.
> Question is, will web servers and browsers sooner or later support
> XMill-(de)compression on the fly?

I don't know. XMill compression is better than GZip and even BZip, but I
believe that XMLSchema valid XML can be compressed even more (I have a
pretty solid background on data compression).

XML is very verbose compared to the information it conveys, valid XML
even more (given that part of the structure is already known by the
schema)

It's possible to create huffman trees of elements using the XMLSchema as
a weighter function... but XMill doesn't got that far and generates a
sort of reduced-verbosity tree they then compress (which, to me, appears
as a totally useless thing if the structure is known in advance)

Anyway, research on XML compression is so young you can say it's almost
unexistant, but I picture XML-specific compression to achieve incredible
results compared to text, expecially since XMLSchema defines datatypes
(dates, if considered as such, can be represented with a lot less bits
than a sequence of digits).

So, XMill or not, something equivalent will be used to transfer XML on
the fly.... BTW, incorporating XMill as a Cocoon serializer should be
pretty straightforward if a Java port if made.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------