[Standards] Binary data over XMPP

Rachel Blackman rcb at ceruleanstudios.com
Fri Nov 9 18:27:00 UTC 2007

>> On Nov 9, 2007, at 8:47 AM, Tobias Markmann wrote:
>>> There are already several binary-to-text encodings which perform a  
>>> bit
>>> better than Base64, two of them are:
>>> 1. http://en.wikipedia.org/wiki/ASCII85 invented by Adobe
>>> 2. http://base91.sourceforge.net/
>> Both of those seem to allow < and &, which make them less than ideal
>> for embedding in XML.
> "XMPP is not XML" :-)))

No.  But just because a is not b does not imply that b is not a.  XMPP  
is a /subset/ of XML: all XML is not valid XMPP, but all XMPP is (or  
should be) valid XML when the session is taken as a document.  :)

Both from a design standpoint, and a practical standpoint (re-using  
existing XML parsers for XMPP is easy given that XMPP obeys a subset  
of the XML rules).  So one would think that < and & are still equally  
important not to have appearing raw in an XMPP stream.

Rachel Blackman <rcb at ceruleanstudios.com>
Trillian Messenger - http://www.trillianastra.com/

More information about the Standards mailing list