[Mono-list] parsing an incomplete xml

Stephen Caldwell steffc@touqen.com
Sun, 18 Jul 2004 21:21:48 -0400


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

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
|
|
|

- --
Stephen Caldwell

Touqen Labs
www.touqen.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA+yIsGKB+761X6YQRAsiOAKCuWkrzxG/SZsWcKVdhk+culC/l7gCdFzuJ
3bBRvzXsLq/gD/suaWZUJCA=
=mAMH
-----END PGP SIGNATURE-----