In article <NDBBKPEKEKOELOHKPCNOIEIDCKAA.rich / infoether.com>, "Rich
Kilmer" <rich / infoether.com> wrote:

> OK...here is the (real life) scenario of writing a Jabber client...

> Well...because the Jabber protocol is a communications protocol, it does
> not insert CR between XML tags!  So when the parser called #gets it
> would never encounter a CR so would never parse!  I needed to _mold_ the
> stream object's #gets function into something that would work for the
> parser.  So I overrode the #gets method on the stream _object_ to call
> its "super" with #gets(">") which is the close tag for XML.

Excellent example!  It's probably a bit complex for the level of my
audience (some of them will be first year uni students, who've probably
never heard of XML), but I'm sure I can dumb it down a bit :-).

Thanks Rich!