diff options
author | Gerald Combs <gerald@wireshark.org> | 2004-10-18 14:58:32 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2004-10-18 14:58:32 +0000 |
commit | d7d9c6be54d7d7c6d5df15639d7e3b1f1a785812 (patch) | |
tree | 9fe5c95951ecdf5a33e88844824127483054718c /xmlstub.h | |
parent | d6a21825355b38955fd907ef2c538997a24e7f99 (diff) |
From Olivier Jacques: Add #defines to disable XML validation.
svn path=/trunk/; revision=12340
Diffstat (limited to 'xmlstub.h')
-rw-r--r-- | xmlstub.h | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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; |