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
This commit is contained in:
arseny.kapoulkine 2009-11-04 19:24:09 +00:00
parent 6948d1f171
commit ec1133444f

View file

@ -434,7 +434,7 @@ namespace
ns.append(node.name(), pos);
}
xml_node p = node.parent();
xml_node p = node;
while (p)
{