From c0ce7ab70e2ef0e432ab71d35ae14ea11ea6e87f Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Tue, 3 Nov 2009 19:55:35 +0000 Subject: XPath: Fixed self axis git-svn-id: http://pugixml.googlecode.com/svn/trunk@202 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixpath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index e7975ec..d29e6c7 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -3156,7 +3156,7 @@ namespace pugi break; case 's': - if (starts_with(nt_name, "self::")) axis = axis_ancestor_or_self; + if (starts_with(nt_name, "self::")) axis = axis_self; else axis_specified = false; break; -- cgit v1.2.3