You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/05/16 14:39:40 UTC

DO NOT REPLY [Bug 9154] New: - Requesting Xerces Version Macro

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=9154>.
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=9154

Requesting Xerces Version Macro

           Summary: Requesting Xerces Version Macro
           Product: Xerces-C++
           Version: 1.7.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Miscellaneous
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: rbuck@mathworks.com


It would be really convenient to have a version macro in xercesdefs.hpp that 
indicated version number. Perhaps something like:

#define _XERCES_VERSION 1700

So that application developers using Xerces could work with a variety of Xerces 
versions and API's by doing things like:

#if _XERCES_VERSION > 1700
   invokeNewMethods();
#else
   invokeOldMethods();
#endif // _XERCES_VERSION > 1700

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org