diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2004-09-01 11:30:32 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2004-09-01 11:30:32 +0400 |
commit | f79122f5127035b026b89d2f65a3e730e739d35d (patch) | |
tree | c40d1441931f0cc353f362465b9963bbfbbf03a3 /mcs/class | |
parent | c526f08bb286e6dc13b17220d6b3334b7af22ac4 (diff) |
2004-09-01 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs : on GetAttributeNavigator(int), namespace
node could be this XmlReader's attribute node.
svn path=/trunk/mcs/; revision=33142
Diffstat (limited to 'mcs/class')
-rw-r--r-- | mcs/class/System.XML/Mono.Xml.XPath/ChangeLog | 5 | ||||
-rwxr-xr-x | mcs/class/System.XML/Mono.Xml.XPath/XPathNavigatorReader.cs | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog b/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog index 184ca17f82d..ec17d1dc8c2 100644 --- a/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog +++ b/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog @@ -1,3 +1,8 @@ +2004-09-01 Atsushi Enomoto <atsushi@ximian.com> + + * XPathNavigatorReader.cs : on GetAttributeNavigator(int), namespace + node could be this XmlReader's attribute node. + 2004-08-02 Atsushi Enomoto <atsushi@ximian.com> * XPathDocument2.cs : new IXPathNavigable implementation diff --git a/mcs/class/System.XML/Mono.Xml.XPath/XPathNavigatorReader.cs b/mcs/class/System.XML/Mono.Xml.XPath/XPathNavigatorReader.cs index 9fb00152324..cb88fa3c50f 100755 --- a/mcs/class/System.XML/Mono.Xml.XPath/XPathNavigatorReader.cs +++ b/mcs/class/System.XML/Mono.Xml.XPath/XPathNavigatorReader.cs @@ -219,6 +219,7 @@ namespace Mono.Xml.XPath XPathNavigator backup = current.Clone ();
try {
switch (current.NodeType) {
+ case XPathNodeType.Namespace:
case XPathNodeType.Attribute:
this.MoveToElement ();
goto case XPathNodeType.Element;
|