I am trying to upgrade a C++ tool that is developed by our company from using Xerces 2.0 to 2.2.  In version 2.2, C++ Namespace is enabled.  This is highly undesirable because I would have to go through thousands of lines of code in order to qualify all of the Xerces variables, data, classes, etc.  and I also experience various linking problems.  I have downloaded the xerces source and have commented out the #define XERCES_HAS_CPP_NAMESPACE in the VCPPDefs.hpp file (I am using the Visual C++ 6.0 compiler).  When I recompile this source, my tool compiles and works just fine.  However, there is no support for binaries that are shipped with modified source code.  Is there any other way to disable the C++ namespace in Xerces 2.2 without modifying its source?

Thanks,

Stephanie Milchak
Software Engineer
WebSphere Business Integration
Research Triangle Park, NC

Reply via email to