Well, if you look in the headers, the documentation is incorrect (just submitted as bug 25727).  Alberto suggested that you use:
 
XERCES_CPP_NAMESPACE_BEGIN
class InputSource;
XERCES_CPP_NAMESPACE_END
 
instead of
 
namespace xercesc {
class InputSource;
}

Adam Heinz
Development Consultant
Exstream Software

 
 
-----Original Message-----
From: Stephanie L Milchak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 9:33 AM
To: [EMAIL PROTECTED]
Subject: RE: Disabling C++ Namespace


Using xercesc:: is correct according to the apache documentation:
http://xml.apache.org/xerces-c/program-others.html#CPPNamespace

I can see that this is correct, because as I was trying various scenarios I would get compilation errors and all of my "xercesc::" were translated to "xercesc_2_2" in the errors.

However, I tried your suggestion and still get the same linking error. I am all out of ideas on how to make this thing work.

Thanks,

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

Reply via email to