In version 1.5.2 I was doing this :
setFeature(SAX2XMLReaderImpl::SAX_CORE_NAMESPACES, true); now I have to do this instead (v1.7.0) setFeature(XMLUni::fgSAX2CoreNameSpaces, true); My problem is that I want to be able to #ifdef the code to compile one way or the other based on the version I am compiling with. I am aware of the defines in /xercesc/util/XercesDefs.hpp but the only preprocessor usable one is #define Xerces_DLLVersionStr "1_5_2" which is a string and the compiler (MSVC6) doesn't like trying to compare a string. In other words #if (Xerces_DLLVersionStr == "1_5_2") doesn't work, I get fatal error C1017: invalid integer constant expression Does anyone know of a way to handle this without having to come up with my own #define(s)? Perhaps there is another Xerces defined #define I could use? Thanks David Schulze Software Engineer DeLorme Mapping --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
