diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2006-02-21 23:57:33 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2006-02-21 23:57:33 +0300 |
commit | 17a250dd3ef501fd0a921ab23592cf19771aa773 (patch) | |
tree | 2628ba98454ec188e32aa4bce38ed3a1b4e9dbc1 /mcs/class/System.XML/System.Xml.XPath | |
parent | ad4afb864068fc4bc695dd331043483f75f6d4fa (diff) |
2006-02-21 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : removed extra field from AxisIterator.
svn path=/trunk/mcs/; revision=57107
Diffstat (limited to 'mcs/class/System.XML/System.Xml.XPath')
-rw-r--r-- | mcs/class/System.XML/System.Xml.XPath/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml.XPath/Iterator.cs | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/mcs/class/System.XML/System.Xml.XPath/ChangeLog b/mcs/class/System.XML/System.Xml.XPath/ChangeLog index d1c5e3b7afd..2b282e6306f 100644 --- a/mcs/class/System.XML/System.Xml.XPath/ChangeLog +++ b/mcs/class/System.XML/System.Xml.XPath/ChangeLog @@ -1,3 +1,7 @@ +2006-02-21 Atsushi Enomoto <atsushi@ximian.com> + + * Iterator.cs : removed extra field from AxisIterator. + 2006-02-14 Atsushi Enomoto <atsushi@ximian.com> * Iterator.cs : tiny message fix (thanks to alp). diff --git a/mcs/class/System.XML/System.Xml.XPath/Iterator.cs b/mcs/class/System.XML/System.Xml.XPath/Iterator.cs index 4dec8a4dbb9..1ab7bd5d585 100644 --- a/mcs/class/System.XML/System.Xml.XPath/Iterator.cs +++ b/mcs/class/System.XML/System.Xml.XPath/Iterator.cs @@ -743,14 +743,14 @@ namespace System.Xml.XPath private SimpleIterator _iter; private NodeTest _test; - string name, ns; - XPathNodeType matchType; + //string name, ns; + //XPathNodeType matchType; public AxisIterator (SimpleIterator iter, NodeTest test) : base (iter.NamespaceManager) { _iter = iter; _test = test; - test.GetInfo (out name, out ns, out matchType, NamespaceManager); + //test.GetInfo (out name, out ns, out matchType, NamespaceManager); // if (name != null) // name = Current.NameTable.Add (name); @@ -762,9 +762,9 @@ namespace System.Xml.XPath { _iter = (SimpleIterator) other._iter.Clone (); _test = other._test; - name = other.name; - ns = other.ns; - matchType = other.matchType; + //name = other.name; + //ns = other.ns; + //matchType = other.matchType; } public override XPathNodeIterator Clone () { return new AxisIterator (this); } |