aboutsummaryrefslogtreecommitdiffstats
path: root/xpointer.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-03-19 15:58:54 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-03-19 15:58:54 +0000
commitfbf8a2d0c8145b713099df63d174154a8442e60d (patch)
treed98e9f5b05823d0a312ffdb39aa743bcf51fdd30 /xpointer.c
parentafcbe1cb12ae42a3be93249730e631d795d63a4f (diff)
downloadandroid_external_libxml2-fbf8a2d0c8145b713099df63d174154a8442e60d.tar.gz
android_external_libxml2-fbf8a2d0c8145b713099df63d174154a8442e60d.tar.bz2
android_external_libxml2-fbf8a2d0c8145b713099df63d174154a8442e60d.zip
More cleanups, XSLT induced, start looking okay:
- xpath.[ch]: still a lot of cleanup based on XSLT, added xmlXPathConvert{String,Number,Boolean} to be able to make type casts without a context stack, fixed some implementation problems related to the absence of context at parse-time, added xmlXPathEvalPredicate() and xmlXPathFreeCompExpr() in the public API too - xpointer.c xpathInternals.h: we need to know at parse time whether we are compiling an XPointer Daniel
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) &&