[xml] xmlDoValidityCheckingDefaultValue problem

Hi, everyone:

I was using the binary release of libxml2.4.22 and recently updated to
2.5.7, posted at http://www.zlatkovic.com/projects/libxml/notes.html by igor
( Thanks for the great work, igor). The new 2.5.7 gives me an error during
linking, complaining about xmlDoValidityCheckingDefaultValue could not be
referred. By digging into the header file, I think the problem is related
with how that binary is built. Here is the piece related with this in

#define xmlDoValidityCheckingDefaultValue \
LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;

My question is: for this specific problem, what is the simple fix here? do I
need set xmlDoValidityCheckingDefaultValue anymore with thread supported
Or more generally, what's the catches when porting old code using
non-threaded linxml?


-- Gang Wang 

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