I want to know whether XmlTextReader reads through the whole Stream when we call the constructor of XmlTextReader. OR Does it when we actually call the read() method.
Not the former one. XmlTextReader consumes 1024 bytes every time when its internal cache is empty on Read() and the first construction (note that XmlTextReader must detect encoding from XML declaration).
Caching is the same behavior as MS does as long as I did packet monitoring (it consumed the netwoek stream regardless of markup kind).
Atsushi Eno _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
