Yes, look in XercesVersion, where you'll find:
// Xerces C++ Namespace string, concatenated with full version string
#define XERCES_PRODUCT xercesc
#define XERCES_CPP_NAMESPACE
INVK_CAT3_RAW_NUMERIC_SEP_UNDERSCORE(XERCES_PRODUCT,XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR)
If you don't believe me, do a dump of the shared libary and see for
yourself what the namespace is.
Dave
"Bagepalli,
Kiran" To:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
<kbagepalli@infor cc: (bcc: David N
Bertoni/Cambridge/IBM)
matica.com> Subject: RE: Namespaces for the project
02/10/2003 04:31
PM
Please respond to
xerces-c-dev
I see only this
#define XERCES_CPP_NAMESPACE_BEGIN namespace XERCES_CPP_NAMESPACE {
#define XERCES_CPP_NAMESPACE_END }
#define XERCES_CPP_NAMESPACE_USE using namespace XERCES_CPP_NAMESPACE;
#define XERCES_CPP_NAMESPACE_QUALIFIER XERCES_CPP_NAMESPACE::
which means a namespace called XERCES_CPP_NAMESPACE is defined. Am I
missing
the version part.
Thanks
Kiran
-----Original Message-----
From: David N Bertoni/Cambridge/IBM [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 4:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Namespaces for the project
Since a namespace has to be a constant, there would be no way to have your
own namespace prefix, short of having you build your own version of Xerces.
If you look more closely, you'll see the namespace takes into account the
version number of Xerces. For example, in 2.2, the name of the Xerces
namespace is xercesc_2_2.
Dave
"Bagepalli,
Kiran" To:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
<kbagepalli@infor cc: (bcc: David N
Bertoni/Cambridge/IBM)
matica.com> Subject: Namespaces for the
project
02/10/2003 04:07
PM
Please respond to
xerces-c-dev
I am a little confused with the namespace implementation for the xerces
project. What I was looking at is a way to version the releases on Xerces
C++ using namespace. The issue here is that if two different versions of
xerces(binary) exist, it will be difficult to resolve the right calls. I
was
assuming I could use by own namespace prefix like MYNAMESPACE for all the
xerces files but there seems to be a constant namespace
XERCES_CPP_NAMESPACE. So across versions of xerces the namespace would be
the same.
Kiran
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]