2004-09-01 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Wed, 1 Sep 2004 07:30:32 +0000 (07:30 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Wed, 1 Sep 2004 07:30:32 +0000 (07:30 -0000)
* XPathNavigatorReader.cs : on GetAttributeNavigator(int), namespace
  node could be this XmlReader's attribute node.

svn path=/trunk/mcs/; revision=33142

mcs/class/System.XML/Mono.Xml.XPath/ChangeLog
mcs/class/System.XML/Mono.Xml.XPath/XPathNavigatorReader.cs

index 184ca17f82d043bb893a2d7319b868d34a310c01..ec17d1dc8c29eb8742d8bcbbae9669887a2539cf 100644 (file)
@@ -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
index 9fb0015232463ab196d2d36fd71f60912379e0ce..cb88fa3c50f8f9b021e8c39d78fe5e7bab04d5e3 100755 (executable)
@@ -219,6 +219,7 @@ namespace Mono.Xml.XPath
                        XPathNavigator backup = current.Clone ();\r
                        try {\r
                                switch (current.NodeType) {\r
+                               case XPathNodeType.Namespace:\r
                                case XPathNodeType.Attribute:\r
                                        this.MoveToElement ();\r
                                        goto case XPathNodeType.Element;\r