[Standards] Binary data over XMPP

Tomasz Sterna tomek at xiaoka.com
Mon Nov 5 14:35:19 UTC 2007

Dnia 05-11-2007, Pn o godzinie 12:51 +0100, Michal 'vorner' Vaner pisze:
> You probably can not do that with any reasonably out-of-the-box XML
> parser.

You cannot use out-of-the-box XML parser anyway.
You need a one that parses and returns every <stream/> subelement
separately. So, once <blob/> is extracted from the stream and reported,
you stop feeding the data read from socket to parser, and fetch it
directly for routing.

> Furthermore, you may need to pass the stream trough charset
> decoder to get some internal stringish representation.

What for?
Does your language-of-chice not have an effective binary blob

  /\_./o__ Tomasz Sterna
 (/^/(_^^'  Xiaoka.com
._.(_.)_  XMPP: smoku at xiaoka.com

More information about the Standards mailing list