I ran into a problem using the very first xerces source drop on Win32. It
may be fixed now and indicates that I should get familiar with CVS et al,
but if someone who is more intimate with the tools could check on this, I'd
appreciate it.
In \src\util\Compilers\VCPPDefs.hpp
const char* const XML4C_DLLName = "IXXML4C" XML4C_DLLVersionStr;
This is still the old IBM name and results in a panic attack if the DLL (at
least when the DLL is somewhere strange)
I assume this should be
const char* const XML4C_DLLName = "xerces-c_1_0" XML4C_DLLVersionStr;
The wrong DLL name triggered a call to the following routine which misspells
Unknown and used XML4C DLL.
void XMLPlatformUtils::panic(const PanicReasons reason)
{
const char* reasonStr = "Uknown reason";
if (reason == Panic_NoTransService)
reasonStr = "Could not load a transcoding service";
else if (reason == Panic_NoDefTranscoder)
reasonStr = "Could not load a local code page transcoder";
else if (reason == Panic_CantFindLib)
reasonStr = "Could not find the XML4C DLL";
else if (reason == Panic_UnknownMsgDomain)
reasonStr = "Unknown message domain";
else if (reason == Panic_CantLoadMsgDomain)
reasonStr = "Cannot load message domain";
....