[Mono-list] Re: XmlTextReader problem reading from network stream

Atsushi Eno ginga@kit.hi-ho.ne.jp
Mon, 07 Jul 2003 02:45:41 +0900


>i wonder if this is a problem or just my poor memory,
>but as far as i can remember the two lines (xml type:)
>used to show the same output

Hmm it didn't work with MS.NET 1.0. Here is my result:

Transmitting ...
Reading (Read line) ...
<rss version="0.92">
xml type: Element name: rss

Transmitting ...
Reading (XmlTextReader) ...

... and XmlException occurs at xml_test.cs line 17 (Sorry but my MS.NET 
Japanized message so that I cannot write here). It says that invalid 
data was found at
root level.

  Atsushi Eno