I agree.  I did a search on PrintDOMTree and the class is only referenced in 3 of our files (2 cpp files, plus the hpp file we've been talking about).  I added the XERCES_CPP_NAMESPACE_USE to the cpp files that didn't already have it.  I cannot find any forward declarations of PrintDOMTree (the header file is just included), except in the header file, in which I've fully qualified the DOM_Node.  Still the same linking error.

What could I be missing?


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




"Adam Heinz" <[EMAIL PROTECTED]>

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

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



I think the problem doesn't lie in the declaration of the function, but in its invocation.  I suspect that you have a non-XERCES_CPP_NAMESPACE:: forward declaration of DOM_Node somewhere and that is causing the linker to look for PrintDOMTree(class DOM_Node instead of PrintDOMTree(class XERCES_CPP_NAMESPACE::DOM_Node

Adam Heinz
Development Consultant
Exstream Software

 

Reply via email to