summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-03 19:55:35 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2009-11-03 19:55:35 +0000
commitc0ce7ab70e2ef0e432ab71d35ae14ea11ea6e87f (patch)
treed2fdd2b6a8aa2afc41647ed96c8ea8e2153931e3 /src
parentaf04c0f754fba9a3cac75b0b0f504a895500e83c (diff)
XPath: Fixed self axis
git-svn-id: http://pugixml.googlecode.com/svn/trunk@202 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src')
-rw-r--r--src/pugixpath.cpp2
1 files changed, 1 insertions, 1 deletions
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;