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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Images embedded in XML



If this works this well, why does HTML not 
embed images in the HTML page?   Would one 
want to lose the XML payload if the image does 
not make it, the connection drops, etc.?
As long as I can remember, embedding binary 
in markup has been discouraged.  

When would putting the binary in the XML 
be a good idea?

Len 
http://www.mp3.com/LenBullard

Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h


-----Original Message-----
From: Mike Brown [mailto:mike@skew.org]

Also not too bad, since while the binary may be larger, the section of the
XML containing this data will be highly compressible. Every value is
essentially within a 6-bit range, and every 8th bit is zero. A simple
compression scheme based on this info alone would offset most of the
expansion. The content transfer encoding/compression that may be employed
in, say, an HTTP transmission should do much better than this.