diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2008-12-09 11:12:07 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2008-12-09 11:12:07 +0300 |
commit | 0b09797b9fad2621095868b79d88d0aa824545ba (patch) | |
tree | 35381bba2df6c4e26d8349cbd2955486863e34ca /mcs/class/System.XML/System.Xml.XPath | |
parent | 6de15b9278e2fb2a9be7a38ff08c20375e388dcd (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/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml.XPath/Iterator.cs | 2 |
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; |