mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2025-02-07 19:16:27 +00:00
Fix compilation with minimum and schematron.
Add a hard dependancy on tree. Disable write and close callbacks when output is disabled.
This commit is contained in:
parent
77b5b46409
commit
1af8b7b22e
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user