commit | 081089848c8560fe2f4d2cf08d85116dc4f5e6e4 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Wed Jan 03 15:24:58 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Wed Jan 03 15:24:58 2001 +0000 |
tree | cad0bdd25d162c09b074e880bc6edf0495a09f8b | |
parent | 4a6845df29b5bba11d35f097ede4db4375d3720d [diff] [blame] |
- testXPath.c xpath.c: fixing the XPath union expressions problem reported by Martin Vidner <martin@artax.karlin.mff.cuni.cz> Daniel
diff --git a/testXPath.c b/testXPath.c index bca7173..2bd5eb5 100644 --- a/testXPath.c +++ b/testXPath.c
@@ -98,6 +98,7 @@ } else { #endif ctxt = xmlXPathNewContext(document); + ctxt->node = xmlDocGetRootElement(document); if (expr) res = xmlXPathEvalExpression(BAD_CAST str, ctxt); else