https://bugzilla.novell.com/show_bug.cgi?id=412657
Summary: Regression in System.XML: XmlParserContext returns null
as NamespaceManager
Product: Mono: Class Libraries
Version: SVN
Platform: i686
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.XML
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
CC: [EMAIL PROTECTED]
Found By: ---
Context created with
XmlParserContext context = new XmlParserContext(null, null, null,
XmlSpace.Default);
returns null as the NamespaceManager, causing NullPointer exceptions in
XmlTextReader line 1361. This works as expected in mono 1.9.1, MS.Net. Broken
in svn HEAD r108697 (and 2.0 branch).
Example failing code:
string s = "<Verifier id='SimpleIntVerifier'/>";
MemoryStream stream = new MemoryStream(Encoding.UTF8.GetBytes(s));
XmlReader reader = new XmlTextReader(stream, XmlNodeType.Element,
new XmlParserContext(null, null, null, XmlSpace.Default));
reader.Read();
--
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 - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs