Commit 1af8b7b2 authored by Nicolas Le Cam's avatar Nicolas Le Cam Committed by Daniel Veillard

Fix compilation with minimum and schematron.

Add a hard dependancy on tree.
Disable write and close callbacks when output is disabled.
parent 77b5b464
......@@ -223,6 +223,7 @@ fi
if test "$with_schematron" = "yes"
then
with_pattern=yes
with_tree=yes
with_xpath=yes
fi
if test "$with_reader" = "yes"
......
......@@ -165,8 +165,10 @@ struct _xmlSchematronValidCtxt {
FILE *outputFile; /* if using XML_SCHEMATRON_OUT_FILE */
xmlBufferPtr outputBuffer; /* if using XML_SCHEMATRON_OUT_BUFFER */
#ifdef LIBXML_OUTPUT_ENABLED
xmlOutputWriteCallback iowrite; /* if using XML_SCHEMATRON_OUT_IO */
xmlOutputCloseCallback ioclose;
#endif
void *ioctx;
/* error reporting data */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment