[Mono-devel-list] XmlDocument.Load(XmlReader) Fails under 1.0.5

Atsushi Eno atsushi at ximian.com
Mon Jan 17 16:01:49 EST 2005


As far as I can remember SgmlReader was buggy and it seems not fixed.


But for now the exact problem shown above is fixed (I changed
XmlWriter without strong reason), there might be bugs either
in mono or in SgmlReader.

So can you create bugzilla entry with a simple reproducible code
and example sgml input? http://bugzilla.ximian.com/

Atsushi Eno

Jan Szumiec wrote:
> I have written a very simple application that grabs an html file, and 
> walks through the document tree using SgmlReader. For some reason, when 
> ran under mono 1.0.5 (FreeBSD 5.3) the executable spews out the following:
> Unhandled Exception: System.NullReferenceException: Unexpected node type 
> EndElement.
> in <0x0079c> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
> in <0x002b7> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
> in <0x002b7> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
> in <0x0004f> System.Xml.XmlDocument:Load (System.Xml.XmlReader)
> in <0x0016c> Onet2RSS.MainClass:Main (string[])
> The app is working fine under Windows. It fails when I try to load the 
> document through XmlDocument.Load(XmlReader). Has anyone had a similar 
> problem?
> Thanks,
> jps
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list