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

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 4 Aug 2003 12:50:32 -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 gonzalo@ximian.com.

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

--- shadow/45880	Mon Aug  4 12:20:42 2003
+++ shadow/45880.tmp.13655	Mon Aug  4 12:50:32 2003
@@ -1,12 +1,12 @@
 Bug#: 45880
 Product: Mono/Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Major
 Component: System.XML
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: dent@cosy.sbg.ac.at               
@@ -72,6 +72,39 @@
 in <0x0004d> 00 System.IO.StreamReader:ReadBuffer ()
 in <0x00051> 08 System.IO.StreamReader:ReadBuffer ()
 in <0x00026> 00 System.IO.StreamReader:Read ()
 in <0x00060> 00 System.IO.StreamReader:ReadLine ()
 in <0x00094> 00 .Jabber:test_1 (System.Net.Sockets.NetworkStream)
 in <0x0005c> 00 .Jabber:Main ()
+
+------- Additional Comments From gonzalo@ximian.com  2003-08-04 12:50 -------
+I get this:
+
+
+Transmitting ...
+Reading (Read line) ...
+<rss version="0.92">
+xml type: Element name: rss
+
+
+Transmitting ...
+Reading (XmlTextReader) ...
+
+Unhandled Exception: System.Xml.XmlException: Text node cannot appear
+in this state. Line 1, position 1.
+in [0x00017] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1219)
+00 System.Xml.XmlTextReader:ReadText (bool)
+in [0x0011b] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1041)
+00 System.Xml.XmlTextReader:ReadContent ()
+in [0x00033] (at
+/home/gpanjav/go-mono/mcs/class/System.XML/System.Xml/XmlTextReader.cs:519)
+00 System.Xml.XmlTextReader:Read ()
+in <0x000e0> 00 .Jabber:test_2 (System.Net.Sockets.NetworkStream)
+in <0x00067> 00 .Jabber:Main ()
+
+
+
+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.