On 2/19/08, Maarten Bosteels <[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 ?


Of course, using a protocol that has a fixed/prefixed/clearly delimited
length is more easy - but if you have to communicate with systems that use
proprietary protocols which are not "network friendly", you have to deal
with it. For me it had an advantage: i finally got enlightened about what
SAX parsers are good for ;)

christian!

Reply via email to