[standards-jig] JNG Ramblings.

Marshall Rose mrose at dbc.mtview.ca.us
Mon Aug 12 20:29:25 UTC 2002


heh, heh... hoist by my own petard!

but let's look at the entire text...

> Q. Does BEEP use XML for framing?
> A. No, an octet-counting mechanism similar to the one used by HTTP is
used.
>
> XML isn't a good choice as a framing protocol. There are two reasons for
this: first, XML isn't suited towards carrying arbitrary binary objects;
and, second, if you have an error in the nested XML content, you're pretty
much screwed trying to find where the frame ends.
>
> XML is good for many, many things, but framing isn't one of them; of
course, your mileage may vary.

two years after writing that text, i think it should say "isn't a perfect
choice".

the reasons are simple: neither arbitrary binary carriage nor error recovery
are mandatory things in some environment. oh wait, that's just what i said
in the last sentence of the faq.

/mtr





More information about the Standards mailing list