diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-11-04 19:24:09 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-11-04 19:24:09 +0000 |
commit | ec1133444f95601245bc728d9c0fea741e19b42a (patch) | |
tree | 10bab48f989e1f81c4f47457b07dd9935575888e /src | |
parent | 6948d1f171e02558a846e63aa58ffc06547eba87 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/pugixpath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)
{
|