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:
authorAtsushi Eno <atsushieno@gmail.com>2008-12-09 11:12:07 +0300
committerAtsushi Eno <atsushieno@gmail.com>2008-12-09 11:12:07 +0300
commit0b09797b9fad2621095868b79d88d0aa824545ba (patch)
tree35381bba2df6c4e26d8349cbd2955486863e34ca /mcs/class/System.XML/System.Xml.XPath
parent6de15b9278e2fb2a9be7a38ff08c20375e388dcd (diff)
2008-12-09 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : DescendantIterator.Clone() was not cloning current node in new code. Fixed bug #456103. * XPathNavigatorTests.cs : added test fo bug #456103. svn path=/trunk/mcs/; revision=121080
Diffstat (limited to 'mcs/class/System.XML/System.Xml.XPath')
-rw-r--r--mcs/class/System.XML/System.Xml.XPath/ChangeLog5
-rw-r--r--mcs/class/System.XML/System.Xml.XPath/Iterator.cs2
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/System.XML/System.Xml.XPath/ChangeLog b/mcs/class/System.XML/System.Xml.XPath/ChangeLog
index 5c51f3e08a9..2b26dea015b 100644
--- a/mcs/class/System.XML/System.Xml.XPath/ChangeLog
+++ b/mcs/class/System.XML/System.Xml.XPath/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-09 Atsushi Enomoto <atsushi@ximian.com>
+
+ * Iterator.cs : DescendantIterator.Clone() was not cloning current
+ node in new code. Fixed bug #456103.
+
2008-10-08 Atsushi Enomoto <atsushi@ximian.com>
* Expression.cs : fix WeakReference usage for such case that it
diff --git a/mcs/class/System.XML/System.Xml.XPath/Iterator.cs b/mcs/class/System.XML/System.Xml.XPath/Iterator.cs
index 7fd1d86d223..b1c7f8d147f 100644
--- a/mcs/class/System.XML/System.Xml.XPath/Iterator.cs
+++ b/mcs/class/System.XML/System.Xml.XPath/Iterator.cs
@@ -543,7 +543,7 @@ namespace System.Xml.XPath
public DescendantIterator (BaseIterator iter) : base (iter) {}
- private DescendantIterator (DescendantIterator other) : base (other)
+ private DescendantIterator (DescendantIterator other) : base (other, true)
{
_depth = other._depth;
_finished = other._finished;