[Mono-bugs] [Bug 429534] New: XmlDocument constructor doesn' t initialise Schemas property

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 24 09:08:11 EDT 2008


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: atsushi at ximian.com
        ReportedBy: james.bird at realtimeworlds.com
         QAContact: mono-bugs at 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.


More information about the mono-bugs mailing list