A. Pagaltzis wrote:

Why the zip? Atom is an envelope format that can transport binary
content.


No, it isn't. An atom envelope can point to non-XML data binary data, but it cannot reasonably embed it. You could use an atomLink element to point to the binary data; then embed the whole file set in a zip file. Maybe that's all that really needed. However, you would need that extra level of packaging.

I suppose you could base64 encode everything in a big atom:entry; but that's a lot of extra work for no particular point. It would essentially rule out using DOM to process this stuff, for example. Better to let MP3s, MPEGs, and other non-XML media to reside elsewhere and just let the XML point to it.

--
Elliotte Rusty Harold  [EMAIL PROTECTED]
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/

Reply via email to