Disabled the compound traversal for the release; I need first to assure
* xpath.c: Disabled the compound traversal for the release;
I need first to assure that this is done only if we have
1 initial node.
diff --git a/xpath.c b/xpath.c
index 8b23cac..102f2ba 100644
--- a/xpath.c
+++ b/xpath.c
@@ -14033,7 +14033,7 @@
}
#endif /* XPATH_STREAMING */
-
+#if 0
static int
xmlXPathCanRewriteDosExpression(xmlChar *expr)
{
@@ -14085,6 +14085,7 @@
if (op->ch2 != -1)
xmlXPathRewriteDOSExpression(comp, &comp->steps[op->ch2]);
}
+#endif
/**
* xmlXPathCtxtCompile:
@@ -14139,13 +14140,13 @@
comp->nb = 0;
#endif
}
-
+#if 0
if ((comp->nbStep > 2) &&
(xmlXPathCanRewriteDosExpression(comp->expr) == 1))
{
xmlXPathRewriteDOSExpression(comp, &comp->steps[comp->last]);
}
-
+#endif
return(comp);
}