[Standards] Binary data over XMPP
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
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.
Does your language-of-chice not have an effective binary blob
/\_./o__ Tomasz Sterna
._.(_.)_ XMPP: smoku at xiaoka.com
More information about the Standards