Hi Chakresh, chakresh bhandari <[EMAIL PROTECTED]> writes:
> Now my question, As per our project requirement the message that are thrown > by parser require some changes, Is it possible to change the verbaige/text > of this messages? While there is an interface for message loaders (XMLMsgLoader) in Xerces-C++, surprisingly, I don't see an easy way to provide ones own implementation without changing the Xerces-C++ source code. If the Xerces-C++ is build with ICU message loader, then one way to achieve what you want would be to point Xerces-C++ to your own NLS home directory (second argument to PlatformUtils::Initialize) which contains custom error messages. See the ICUMsgLoader.cpp for details. Boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding
