diff options
| author | Daniel Veillard <veillard@src.gnome.org> | 2001-03-19 15:58:54 +0000 |
|---|---|---|
| committer | Daniel Veillard <veillard@src.gnome.org> | 2001-03-19 15:58:54 +0000 |
| commit | fbf8a2d0c8145b713099df63d174154a8442e60d (patch) | |
| tree | d98e9f5b05823d0a312ffdb39aa743bcf51fdd30 /xpointer.c | |
| parent | afcbe1cb12ae42a3be93249730e631d795d63a4f (diff) | |
| download | android_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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) && |
