Hi: I have a strange behavior with this function. The simple, small, Error Handler I use is this:
// ........................................................................... bool Xml_ErrorHandler::handleError( const DOMError & domError ) { _logger << "XercesError: ";
char* msgPtr = xercesc::XMLString::transcode( domError.getMessage());
_logger << " (line:" << domError.getLocation()->getLineNumber() << ", col:" << domError.getLocation()->getColumnNumber() << "). Msg: " << msgPtr << endl;
xercesc::XMLString::release( & msgPtr );
return true; } // ...........................................................................
Tha fact is that Line & Col Numbers always print OK.
But the "Msg: " part only prints Ok when compiled with Borland Tools.
When compiled with MinGW, the getMessage() functions always returns "" ... (empty string) ???
(Of course: each compilation links to its corresponding version of XercesLib)
Does anybody have a hint about this ?
It'll be VERY helpfull, cause I can't live without the error messages when something goes wrong ...
Thanx in advance !
Diego
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]