[Mono-bugs] [Bug 45880][Maj] Changed - XmlTextReader on network streams

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 4 Aug 2003 13:04:06 -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 ginga@kit.hi-ho.ne.jp.

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

--- shadow/45880	Mon Aug  4 12:50:48 2003
+++ shadow/45880.tmp.30864	Mon Aug  4 13:04:06 2003
@@ -1,21 +1,22 @@
 Bug#: 45880
 Product: Mono/Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: REOPENED   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Major
 Component: System.XML
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: dent@cosy.sbg.ac.at               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
+Cc: ginga@kit.hi-ho.ne.jp,gonzalo@ximian.com
 Summary: XmlTextReader on network streams
 
 Please fill in this template when reporting a bug, unless you know what you
 are doing.
 Description of Problem:
 XmlTextReader doesn't work with a NetworkStream anymore (as expected)
@@ -104,6 +105,30 @@
 
 
 
 And, yes, I fixed this quite a few months ago. I guess that with the
 big amount of improvements that have gotten into System.Xml this was
 somehow messed up.
+
+------- Additional Comments From ginga@kit.hi-ho.ne.jp  2003-08-04 13:04 -------
+I recently added some state-check stuff in XmlTextReader, so it might 
+be related. But I wonder it should work well. Here is what I received 
+with MS.NET 1.1 (compiled with CSC.exe).
+
+--------
+
+Transmitting ...
+Reading (Read line) ...
+<rss version="0.92">
+xml type: Element name: rss
+
+
+Transmitting ...
+Reading (XmlTextReader) ...
+
+Unhandled Exception: System.Xml.XmlException: The data at the root 
+level is invalid. Line 1, position 1.
+   at System.Xml.XmlTextReader.ParseRoot()
+   at System.Xml.XmlTextReader.Read()
+   at Jabber.test_2(NetworkStream stream)
+   at Jabber.Main()
+