[Mono-bugs] [Bug 33051][Nor] New - Inconsistent reply from XmlTextReader.Read() with NetworkStream
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
30 Oct 2002 17:26:45 -0000
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 ben@roadrunner.uk.com.
http://bugzilla.ximian.com/show_bug.cgi?id=33051
--- shadow/33051 Wed Oct 30 12:26:45 2002
+++ shadow/33051.tmp.8449 Wed Oct 30 12:26:45 2002
@@ -0,0 +1,46 @@
+Bug#: 33051
+Product: Mono/Class Libraries
+Version: unspecified
+OS: SuSE 8.0
+OS Details: Mono 0.16 under SuSE 8.0
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System.XML
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: ben@roadrunner.uk.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Inconsistent reply from XmlTextReader.Read() with NetworkStream
+
+Description of Problem:
+
+Calling the XmlTextReader.Read() from a NetworkStream results in different
+responces from Windows and Mono.
+
+When another host disconnects, Windows will throw one of these exceptions:
+
+ "The root element is missing." at System.Xml.XmlTextReader.Read()
+
+When NO xml has been passed, and:
+
+ "Unable to read data from the transport connection."
+
+When client disconnects at a later time. Under mono, the Read() only
+exists with 'False'.
+
+Steps to reproduce the problem:
+1. Setup an incomming TCP/IP connection to an XmlTextReader()
+2. Pass no, some, or incomplete XML to it.
+3. Disconnect Client host.
+
+Actual Results:
+
+Return with 'False'.
+
+Expected Results:
+
+An XML exception to be thrown.