Re: [xml] xmlDoValidityCheckingDefaultValue problem

On Mon, May 12, 2003 at 12:46:09PM -0700, Gang Wang wrote:
Sorry for the confusion. The problem happens when building the program. It
compiles fine. As I indicated in the previous message, it seems
xmlDoValidityCheckingDefaultValue is not an int in globals.h when
LIBXML_THREAD_ENABLED is defined. Instead it is defined as a macro. However,
in my code, ( perhaps a lot other people's code too ), I had a line look

xmlDoValidityCheckingDefaultValue = ( validate ) ? 1:0; 

  This means you are using older headers to compile your code or
that you did not include the headers defining xmlDoValidityCheckingDefaultValue
see include/libxml/globals.h :

extern int *__xmlDoValidityCheckingDefaultValue(void);
#define xmlDoValidityCheckingDefaultValue \
LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;

 Fix your environment or your code to have to proper definition of
the global variables.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]