- 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