aboutsummaryrefslogtreecommitdiffstats
path: root/xpointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'xpointer.c')
-rw-r--r--xpointer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xpointer.c b/xpointer.c
index ccb4789f..37c13a6a 100644
--- a/xpointer.c
+++ b/xpointer.c
@@ -1292,6 +1292,7 @@ xmlXPtrEval(const xmlChar *str, xmlXPathContextPtr ctx) {
return(NULL);
ctxt = xmlXPathNewParserContext(str, ctx);
+ ctxt->xptr = 1;
xmlXPtrEvalXPointer(ctxt);
if ((ctxt->value != NULL) &&