[Mono-list] parsing an incomplete xml

Jonathan Stowe jns@gellyfish.com
Mon, 19 Jul 2004 17:04:03 +0100

On Mon, 2004-07-19 at 03:36, Krisztian PIFKO wrote:
> On Sun, 2004-07-18 at 21:21 -0400, Stephen Caldwell wrote:
> > Well if you have some way of knowing how big the stream is, then maybe
> > buffer it all and then parse it, or you might have to create a parsing
> > class which can better handle mal-formed xml documents.
> sad, but i need to parse it as it comes (xmpp/jabber protocol is like
> this), so i'll interpret the stream by hand.

This sounds like you are reinventing a rather big wheel - have you
looked at how jabber.net deals with this?