DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16933>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16933

All error messages null in SAX and DOM parsers





------- Additional Comments From [EMAIL PROTECTED]  2003-07-17 10:45 -------
There are two problems:
- Borland creates its own DLL entry function in XercesLib.cpp. Thus the DllMain 
function in Win32MsgLoader.cpp is never called (leaving 
globalModuleHandle==NULL). Hence the resources linked into the DLL cannot be 
accessed. This could be resolved by initialising module Win32MsgLoader from the 
Borland DLL entry function.
- The Borland resource file compiler seems to result in .res file with a string 
table containing empty strings. When replacing version.rc by a correct 
version.res (eg compiled with visual studio) we have our messages ...

Simple workaround: use the InMemory message loader instead of the 
Win32MessageLoader. In the Xerceslib project replace Win32MsgLoader.cpp by 
InMemMsgLoader.cpp and replace the conditional define XML_USE_WIN32_MSGLOADER 
by XML_USE_INMEMORY_MSGLOADER.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to