Title: Compilation issue

Hi,

I have created the following header file and written the code around it. When I try to compile it, I am getting compilation error. Please help me on this.

#include <xercesc/sax/SAXParseException.hpp>

#include <xercesc/parsers/SAXParser.hpp>

#include <SAXPrintHandlers.h>

#include <xalanc/DOMSupport/XalanDocumentPrefixResolver.hpp>

#include <xalanc/XPath/XObject.hpp>

#include <xalanc/XPath/XPathEvaluator.hpp>

#include <xalanc/XalanSourceTree/XalanSourceTreeDOMSupport.hpp>

#include <xalanc/XalanSourceTree/XalanSourceTreeInit.hpp>

#include <xalanc/XalanSourceTree/XalanSourceTreeParserLiaison.hpp>

#include <xalanc/XalanTransformer/XalanTransformer.hpp>

#include <xalanc/XalanSourceTree/XalanSourceTreeDOMSupport.hpp>

#include <xalanc/XalanSourceTree/XalanSourceTreeInit.hpp>

XERCES_CPP_NAMESPACE_USE

XALAN_CPP_NAMESPACE_USE

class XMResponseParser

{

    public:

       XMResponseParser();

       ~XMResponseParser();

       void             validateMsgBuffer(char *);

       void             retrieveElementValue(const string &_expression_, string &returnVal);

       bool             isElementExist(const string &xPath);

       void             setResponseXML(const string &respMsg);

    private:

       XALAN_USING_XALAN(XalanDocument)

       XALAN_USING_XALAN(XalanSourceTreeDOMSupport)

       XalanSourceTreeDOMSupport       theDOMSupport;

       XalanDocument*           theDocument;

       SAXPrintHandlers         handler;

       SAXParser                parser;

       string                   response;

};

Compilation error is

Error 712: "./XMResponseParser.h", line 64 # This class scope using-declaration does not refer to a base class member.

            XALAN_USING_XERCES(XMLPlatformUtils)

            ^^^^^^^^^^^^^^^^^^                 

Error 712: "./XMResponseParser.h", line 65 # This class scope using-declaration does not refer to a base class member.

            XALAN_USING_XALAN(XPathEvaluator)

            ^^^^^^^^^^^^^^^^^               

Error 712: "./XMResponseParser.h", line 66 # This class scope using-declaration does not refer to a base class member.

            XALAN_USING_XALAN(XalanTransformer)

            ^^^^^^^^^^^^^^^^^                 

Error 712: "./XMResponseParser.h", line 67 # This class scope using-declaration does not refer to a base class member.

            XALAN_USING_XALAN(XalanDocument)

            ^^^^^^^^^^^^^^^^^              

Error 712: "./XMResponseParser.h", line 68 # This class scope using-declaration does not refer to a base class member.

            XALAN_USING_XALAN(XalanSourceTreeDOMSupport)

            ^^^^^^^^^^^^^^^^^                          

Thanks,

Guru Murthy,

WIPRO Technologies,

Ph: 080 3029 28 28

M: 9845763762

WIPRO VOIP: 808 4445


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

Reply via email to