[Mono-bugs] [Bug 80848][Min] New - XmlTextReader Read not check state ReadState.Closed

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Feb 14 09:37:48 EST 2007


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 inadsan at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80848

--- shadow/80848	2007-02-14 09:37:48.000000000 -0500
+++ shadow/80848.tmp.9289	2007-02-14 09:37:48.000000000 -0500
@@ -0,0 +1,40 @@
+Bug#: 80848
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: inadsan at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: XmlTextReader Read not check state ReadState.Closed
+
+XmlTextReader Read not check state==ReadState.Closed and throws
+System.ObjectDisposedException after call reader.Close();
+
+Steps to reproduce the problem:
+1. Read XML with XmlTextReader
+2. Call reader.close()
+
+Actual Results:
+XmlTextReader.Read throws System.ObjectDisposedException after call
+reader.Close();
+
+Expected Results:
+XmlTextReader.Read return false;
+
+How often does this happen? 
+
+
+Additional Information:
+I'am solve the problem with break after Close() but in Microsoft .NET 2.0
+not necesary.
+
+Thanks


More information about the mono-bugs mailing list