[Mono-bugs] [Bug 412657] Regression in System.XML: XmlReader throw NRE when XmlParserContext has null NamespaceManager

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 28 11:45:34 EDT 2008


User skolima at gmail.com added comment

Leszek Ciesielski <skolima at gmail.com> changed:

           What    |Removed                                         |Added
            Summary|Regression in System.XML: XmlParserContext      |Regression in System.XML: XmlReader throw NRE
                   |returns null as NamespaceManager                |when XmlParserContext has null NamespaceManager

--- Comment #2 from Leszek Ciesielski <skolima at gmail.com>  2008-07-28 09:45:32 MDT ---
Sorry, I did not mean it has been broken by commit in revision r108697, just
that this is the revision my checkout is at.

The relevant change is probably in r96116

And it is correct to return null here (my mistake). What is not correct is that
XmlReader does not handle a null NamespaceManager in XmlParserContext, so the
code shown above fails.

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