[Mono-devel-list] XmlDocument.Load(XmlReader) Fails under 1.0.5
Jan Szumiec
jps at ftyczka.org
Mon Jan 17 14:54:10 EST 2005
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
More information about the Mono-devel-list
mailing list