[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] [bug #4195] XmlTextReader uses XmlStreamReader ins
From: |
Rhys Weatherley |
Subject: |
Re: [Pnet-developers] [bug #4195] XmlTextReader uses XmlStreamReader instead of StreamReader |
Date: |
Sat, 05 Jul 2003 10:40:53 +1000 |
User-agent: |
KMail/1.4.3 |
On Saturday 05 July 2003 10:30 am, address@hidden wrote:
> Original Submission: XmlTextReader should be using StreamReader and not
> XmlStreamReader. XmlStreamReader appears to be identical to StreamReader.
> Keeping fixes synchronised between the two would be painful :-.
XmlStreamReader was deliberately forked from StreamReader because the handling
of encodings, particularly UCS-4, is different from the base class and the
base class cannot be modified to incorporate the differences without breaking
the specification. The manner in which encodings are detected is also
different. Yes, it is painful, but it is necessary. MS also uses a separate
class.
Cheers,
Rhys.