diff options
Diffstat (limited to 'mcs/class/System.XML/System.Xml')
-rw-r--r-- | mcs/class/System.XML/System.Xml/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml/XmlTextReader.cs | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml/ChangeLog b/mcs/class/System.XML/System.Xml/ChangeLog index 7e7d9b00d11..51b7e658681 100644 --- a/mcs/class/System.XML/System.Xml/ChangeLog +++ b/mcs/class/System.XML/System.Xml/ChangeLog @@ -1,3 +1,7 @@ +2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com> + + * XmlTextReader.cs: implemented .ctor (Stream). + 2002-06-26 Duncan Mak <duncan@ximian.com> * XmlNodeReader.cs: Implementation of most of the properties, and diff --git a/mcs/class/System.XML/System.Xml/XmlTextReader.cs b/mcs/class/System.XML/System.Xml/XmlTextReader.cs index 0a6ebbdbe19..91611af2ee9 100644 --- a/mcs/class/System.XML/System.Xml/XmlTextReader.cs +++ b/mcs/class/System.XML/System.Xml/XmlTextReader.cs @@ -49,7 +49,12 @@ namespace System.Xml [MonoTODO] public XmlTextReader (Stream input) { - throw new NotImplementedException (); + // We can share some code in the constructors (at least for this one and next 2) + XmlNameTable nt = new NameTable (); + XmlNamespaceManager nsMgr = new XmlNamespaceManager (nt); + parserContext = new XmlParserContext (null, nsMgr, null, XmlSpace.None); + Init (); + reader = new StreamReader (input); } [MonoTODO] |