https://bugzilla.novell.com/show_bug.cgi?id=429534
Summary: XmlDocument constructor doesn't initialise Schemas property Product: Mono: Class Libraries Version: 1.9 Platform: x86-64 OS/Version: Windows Vista Status: NEW Severity: Normal Priority: P5 - None Component: Sys.XML AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: mono-bugs@lists.ximian.com Found By: --- Created an attachment (id=241404) --> (https://bugzilla.novell.com/attachment.cgi?id=241404) A small program that reproduces the bug Under the Microsoft .NET CLR, when constructing an XmlDocument object, its constructor seems to initialise its Schemas property to an empty XmlSchemaSet. On Mono, its constructor seems to initialise this property to null. This difference in behaviour can cause issues when the program expects this property to be non-null after construction. See attached program. Under the Microsoft .NET CLR the following output is observed: XmlDocument.Schemas initialised But on Mono, the following output is observed: XmlDocument.Schemas NOT INITIALISED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs