[Standards] Binary data over XMPP
twaffle at gmail.com
Mon Nov 5 15:11:33 UTC 2007
On 11/5/07, Michal 'vorner' Vaner <vorner at ucw.cz> wrote:
> On Mon, Nov 05, 2007 at 02:45:05PM +0000, Dave Cridland wrote:
> > Another option would be to setup a distinct connection (and protocol) for
> > routing blobs, and so send them through the server, yet not in-band. I'm
> > not comfortable with this, because it means essentially duplicating all
> > security information, and maintaining synchronization between two distinct
> > streams.
> Or make the connection blobs by default, and some blobs could contain
> complete XML documents, like this:
> lenght of first block
> <message to='bla'....>
> length of second block
> <iq ...>
> length of third block
> some binary data.
> It is as much drastic approach as the blobs, it changes the protocol
> from the very basic ground. Furthermore, you can extract the stanza and
> feed it to any XML parser.
Not to mention the documentation would be much easier. We could
just refer to the BEEP standards instead of having to write our own.
Of course, one could argue, just use BEEP at that point.
More information about the Standards