[Mono-list] parsing an incomplete xml

Scott Boston scott@spacehug.com
Sun, 18 Jul 2004 20:34:54 -0700


How are you feeding the incomplete xml into the XmlTextReader? 

You can create a NetworkStream from your Socket and use that to create
your XmlTextReader instance.  Then you just do a continuous Read() loop,
until EOF.

On Sun, 2004-07-18 at 16:56, Krisztian PIFKO wrote:
> hi,
> 
> should someone please tell me how to parse an incomplete xml?
> i'm reading the xml asynchronously from a socket and i need to
> parse it continously as it arrives.
> when i feed the incomplete xml into XmlTextReader it hangs at
> the first unclosed element.
> 
> thanks in advance,
> 
> Krisztian PIFKO
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list