[Mono-devel-list] replacement implementation for MiniParser

Atsushi Eno atsushi at ximian.com
Mon May 9 14:32:13 EDT 2005


> Since many people as well as me feel that MiniParser is difficult
> to fix, I created another small xml parser for corlib. I attached
> the patch for corlib (mostly for SecurityParser and
> RemotingConfiguration). It should fix bug #74203 (and #74799), and
> will fill the need shown in #74279, and maybe easier to fix.

In the previous patch there were some bugs in SmallXmlParser.cs. It
didn't detect CDATA section ending correctly, it was not invoking
OnStartParsing/OnEndParsing, and PI/XML declarations are not parsed
properly. So I attached the fixed one. Just replace old one with it.

BTW It should not be so hard to switch from MiniParser to it.
You'll just have to add some new interface methods, change some
types and input (it uses TextReader instead of its own IReader).

If it looks good, I'll apply the previous patch and put this one.

Atsushi Eno

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SmallXmlParser.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050510/e5db440e/attachment.pl 

More information about the Mono-devel-list mailing list