[Mono-bugs] [Bug 58076][Blo] New - ReadInnerXml bombs on invalid XML
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 5 May 2004 12:31:20 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by james@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=58076
--- shadow/58076 2004-05-05 12:31:20.000000000 -0400
+++ shadow/58076.tmp.23540 2004-05-05 12:31:20.000000000 -0400
@@ -0,0 +1,24 @@
+Bug#: 58076
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Blocker
+Component: Sys.XML
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: james@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc: dromanek@novell.com,naresh@ximian.com
+Summary: ReadInnerXml bombs on invalid XML
+
+So, if you use XmlReader.ReadInnerXml, and the inner xml is bogus (has
+unmatched tags or whatever), it throws an exception to that effect. On the
+Microsoft platform, it does not. I'm not sure what the correct behavior
+should be, but given that the point of ReadInnerXml is to get the string
+(without parsing it), I think the MS behavior sounds correct. I've
+modified a previous test case to expose this and will attach it.