diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2006-01-11 20:50:16 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2006-01-11 20:50:16 +0300 |
commit | 2e628264bbdcb3b9ab7f52fe797b0d0eed81eda8 (patch) | |
tree | 3e93629b2483e4758b21c639ca8a3517cdd8ad8d /mcs/class/System.XML/System.Xml.XPath | |
parent | 6b9b16b72a46735fef6e38b3914eaef0e3faa332 (diff) |
2006-01-11 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : (DescendantOrSelfIterator/DescendantIterator)
the error message is for blaming custom XPathNavigator
implementation, not us ;-) (see also #77194)
svn path=/trunk/mcs/; revision=55389
Diffstat (limited to 'mcs/class/System.XML/System.Xml.XPath')
-rw-r--r-- | mcs/class/System.XML/System.Xml.XPath/ChangeLog | 6 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml.XPath/Iterator.cs | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/mcs/class/System.XML/System.Xml.XPath/ChangeLog b/mcs/class/System.XML/System.Xml.XPath/ChangeLog index b33e228bf3b..4bcca4d3dfe 100644 --- a/mcs/class/System.XML/System.Xml.XPath/ChangeLog +++ b/mcs/class/System.XML/System.Xml.XPath/ChangeLog @@ -1,3 +1,9 @@ +2006-01-11 Atsushi Enomoto <atsushi@ximian.com> + + * Iterator.cs : (DescendantOrSelfIterator/DescendantIterator) the + error message is for blaming custom XPathNavigator + implementation, not us ;-) (see also #77194) + 2006-01-06 Atsushi Enomoto <atsushi@ximian.com> * XPathNavigator.cs : use WriteNode(XPathNavigator, bool) diff --git a/mcs/class/System.XML/System.Xml.XPath/Iterator.cs b/mcs/class/System.XML/System.Xml.XPath/Iterator.cs index cb137a19c37..993b2d89fab 100644 --- a/mcs/class/System.XML/System.Xml.XPath/Iterator.cs +++ b/mcs/class/System.XML/System.Xml.XPath/Iterator.cs @@ -522,7 +522,7 @@ namespace System.Xml.XPath return true; } if (!_nav.MoveToParent ()) // should NEVER fail! - throw new XPathException ("There seems some bugs on the XPathNavigator implementation class."); + throw new XPathException ("There seems some bugs on the XPathNavigator implementation class: " + _nav.GetType ()); _depth --; } _finished = true; @@ -569,7 +569,7 @@ namespace System.Xml.XPath return true; } if (!_nav.MoveToParent ()) // should NEVER fail! - throw new XPathException ("There seems some bugs on the XPathNavigator implementation class."); + throw new XPathException ("There seems some bugs on the XPathNavigator implementation class: " + _nav.GetType ()); _depth --; } _finished = true; |