From d7d9c6be54d7d7c6d5df15639d7e3b1f1a785812 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Mon, 18 Oct 2004 14:58:32 +0000 Subject: From Olivier Jacques: Add #defines to disable XML validation. svn path=/trunk/; revision=12340 --- xmlstub.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'xmlstub.h') diff --git a/xmlstub.h b/xmlstub.h index 54532dcaf0..47a6d0a0ef 100644 --- a/xmlstub.h +++ b/xmlstub.h @@ -8,6 +8,13 @@ #include "config.h" +/****************** specific to ethereal ********************************/ +/* + * Uncomment the following line to restore XML_DO_VALIDITY_CHECKING + * behavior which is causing issues on WIN32 platforms. See: + * http://www.ethereal.com/lists/ethereal-dev/200410/msg00194.html + */ +/* #define ETHEREAL_XML_DO_VALIDITY_CHECKING */ /****************** From xml headers ************************************/ /* @@ -1088,10 +1095,9 @@ typedef struct { char *(*xmlGetProp)(xmlNodePtr, char *); int (*xmlKeepBlanksDefault)(int); int (*xmlSubstituteEntitiesDefault)(int); - - /* Variables */ - int *xmlDoValidityCheckingDefaultValue; - +#ifdef ETHEREAL_XML_DO_VALIDITY_CHECKING + int *xmlDoValidityCheckingDefaultValue; +#endif } XML_STUB; XML_EXTERN XML_STUB XmlStub; -- cgit v1.2.3