From ec1133444f95601245bc728d9c0fea741e19b42a Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Wed, 4 Nov 2009 19:24:09 +0000 Subject: XPath: Fixed namespace-uri so that namespace scope includes the namespace declaration owner tag itself git-svn-id: http://pugixml.googlecode.com/svn/trunk@205 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixpath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pugixpath.cpp') diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index e567524..6dc58f1 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -434,7 +434,7 @@ namespace ns.append(node.name(), pos); } - xml_node p = node.parent(); + xml_node p = node; while (p) { -- cgit v1.2.3