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




"Adam Heinz" <[EMAIL PROTECTED]>

12/23/2003 09:23 AM
Please respond to xerces-c-dev

       
        To:        <[EMAIL PROTECTED]>
        cc:        
        Subject:        RE: Disabling C++ Namespace



You need to use XERCES_CPP_NAMESPACE:: instead of xercesc::, since that is just wrong (see util/XercesVersion.hpp).  The namespaces are named according to the release version; the namespace macro expands to something like xercesc_2_3.
 
Adam Heinz
Development Consultant
Exstream Software

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


But the DOM_* class isn't what causes the linking error... when I disable the namespace in xerces I have no errors.  I still haven't solved any problems.


Thanks,


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


Reply via email to