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.


--
Luis Neves

Reply via email to