1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

- xpath.c: seems I finally killed that ugly path evaluation

context bug (tagged 9999 in case is is wrong)
Daniel
This commit is contained in:
Daniel Veillard
2001-01-20 21:15:50 +00:00
parent 8f4d97579a
commit 5a2b697af8
5 changed files with 28 additions and 2 deletions

View File

@ -1337,10 +1337,12 @@ xmlXPtrEval(const xmlChar *str, xmlXPathContextPtr ctx) {
return(NULL);
ctxt = xmlXPathNewParserContext(str, ctx);
/* TAG:9999
if (ctx->node != NULL) {
init = xmlXPathNewNodeSet(ctx->node);
valuePush(ctxt, init);
}
*/
xmlXPtrEvalXPointer(ctxt);
if ((ctxt->value != NULL) &&