At 18.38 27/08/2003, Vincent Finn wrote:
Hi,

I have upgraded from xerces C v2.1 to v2.2 and a strange thing is happening

The xerces namespace was added between the 2 versions so I put
using namespace XERCES_CPP_NAMESPACE;
globally

The strange thing is that even with the using statement I still have to
scope any use of DOMDocument
all the other classes are covered but not the Document I have to explicitly
use
XERCES_CPP_NAMESPACE::DOMDocument

The class appears to be in the namespace and doesn't seem special so I can't
understand the difference
has anyone else seen this?

I guess you are on Windows; and you are now including the msxml.h header that defines DOMDocument too (but as a COM class). So, you need to disambiguate the symbol by specifying that you want the Xerces one, not the MSXML one.


Alberto



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to