+Mon Mar 12 14:43:20 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
+
+ * libxslt/extra.c libxslt/variables.c: fixing compilation
+ when libxml was compiled without debug support
+
Sat Mar 10 13:50:16 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* configure.in: time for 0.5.0
#include <libxml/hash.h>
#include <libxml/xmlerror.h>
#include <libxml/parserInternals.h>
+#include <libxml/xmlversion.h>
#include "xslt.h"
#include "xsltInternals.h"
#include "xsltutils.h"
fprintf(stdout, "%s ", cur->name);
else
fprintf(stdout, "noname !!!!");
+#ifdef LIBXML_DEBUG_ENABLED
if (cur->value != NULL) {
xmlXPathDebugDumpObject(stdout, cur->value, 1);
} else {
fprintf(stdout, "NULL !!!!");
}
+#endif
fprintf(stdout, "\n");
cur = cur->next;
}
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxml/parserInternals.h>
+#include <libxml/xmlversion.h>
#include "xslt.h"
#include "xsltInternals.h"
#include "xsltutils.h"
xmlXPathFreeParserContext(xpathParserCtxt);
if (result != NULL) {
#ifdef DEBUG_VARIABLE
+#ifdef LIBXML_DEBUG_ENABLED
if ((xsltGenericDebugContext == stdout) ||
(xsltGenericDebugContext == stderr))
xmlXPathDebugDumpObject((FILE *)xsltGenericDebugContext,
result, 0);
#endif
+#endif
if (elem->value != NULL)
xmlXPathFreeObject(elem->value);
elem->value = result;
elem->value = xmlXPathNewCString("");
}
#ifdef DEBUG_VARIABLE
+#ifdef LIBXML_DEBUG_ENABLED
if ((xsltGenericDebugContext == stdout) ||
(xsltGenericDebugContext == stderr))
xmlXPathDebugDumpObject((FILE *)xsltGenericDebugContext,
elem->value, 0);
#endif
+#endif
}
elem->computed = 1;
}