On Feb 19, 2008 4:27 PM, Luis Neves <[EMAIL PROTECTED]> wrote:

> Maarten Bosteels wrote:
> > On Feb 19, 2008 3:39 PM, Christian Migowski <[EMAIL PROTECTED]>
> wrote:
>
>
> >> I had to deal with a protocol that hasn't neither a fixed length nor a
> >> fixed
> >> delimiter (it is XML fragments sent directly on the wire, without any
> >> header, so the Msg was complete when i found a matching end tag to a
> list
> >> of
> >> start tags).
> >
> >
> > Is it a custom protocol ? I think the protocol smells a bit.
> > Is the character encoding used in the XML fragments always the same ?
> >
> > You're gonna have a hard time decoding when clients are allowed to send
> XML
> > using the encoding of their choice (eg. both UTF-8 and UTF-16)
>
>
> See XMMP, it is basically an endless stream of XML stanzas.
>
>
Hello Luis,

I guess you mean XMPP ?  According to [1] it uses UTF-8 character encoding
exclusively,
which makes decoding a lot easier. That's why I asked Brenno if the encoding
is fixed.

[1] http://www.xmpp.org/rfcs/rfc3920.html

regards,
Maarten

>
> --
> Luis Neves
>

Reply via email to