Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.XML/System.Xml')
-rw-r--r--mcs/class/System.XML/System.Xml/ChangeLog4
-rw-r--r--mcs/class/System.XML/System.Xml/XmlTextReader.cs6
2 files changed, 6 insertions, 4 deletions
diff --git a/mcs/class/System.XML/System.Xml/ChangeLog b/mcs/class/System.XML/System.Xml/ChangeLog
index 17928bc6125..c67cefbff75 100644
--- a/mcs/class/System.XML/System.Xml/ChangeLog
+++ b/mcs/class/System.XML/System.Xml/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * XmlTextReader.cs: line and position begin with 1.
+
2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* XmlException.cs: added a new internal constructor for IXmlLineInfo
diff --git a/mcs/class/System.XML/System.Xml/XmlTextReader.cs b/mcs/class/System.XML/System.Xml/XmlTextReader.cs
index 178d9a06d3c..634115e6ddc 100644
--- a/mcs/class/System.XML/System.Xml/XmlTextReader.cs
+++ b/mcs/class/System.XML/System.Xml/XmlTextReader.cs
@@ -40,10 +40,8 @@ namespace System.Xml
{
#region Constructors
- [MonoTODO]
protected XmlTextReader ()
{
- throw new NotImplementedException ();
}
[MonoTODO]
@@ -611,8 +609,8 @@ namespace System.Xml
private StringBuilder xmlBuffer; // This is for Read(Inner|Outer)Xml
private StringBuilder currentTag; // A buffer for ReadContent for ReadOuterXml
private bool saveToXmlBuffer;
- private int line;
- private int column;
+ private int line = 1;
+ private int column = 1;
private void Init ()
{