[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: IBM4C parser on HP-UX

  • From: "Yogita Patil" <ypatil@k...>
  • To: "xml dev mailing list" <xml-dev@i...>
  • Date: Mon, 25 Oct 1999 09:48:09 -0400

xmlplatformutils initialize
Hi All,
I'm using the same IBM for C++ XML parser and it doen't seem to work for me either. Goes past the initialize so am assuming the initialize works as it doesn't enter the catch block , but as soon as i try to create an element after that it crashes with an Unhandled Exception in IXXML4C2.dll.
 
Thanx,
Yogita
----- Original Message -----
Sent: Monday, October 25, 1999 8:38 AM
Subject: IBM4C parser on HP-UX

Hi All,
 
I have installed the IBM for C++ XML parser. If I write a simple program
like
 
# include <sax/HandlerBase.hpp>
# include <parsers/ValidatingParsers.hpp>
 
int main(int argc,char* args[])
{
    try
    {
        XMLPlatformUtils::Initialize();
    }
    catch(const XMLException& toCatch)
    {
        cout << "error in initializing ";
    }
}
 
I get the following error messages :
 
Warning 552: "/home/abisheks/xml4c2_3_1/include/util/Exception.hpp", line 37 #
    Ambiguous overloaded function declaration; default arguments make this
    function indistinguishable from previous one. Clashing function
    "XMLException::XMLException(const unsigned short *,const unsigned short
    *)" was previously declared at
    ["/home/abisheks/xml4c2_3_1/include/util/Exception.hpp", line 35].
        XMLException(const XMLCh* const msg, const char* const type = 0)
        ^^^^^^^^^^^^                                                   
Warning 552: "/home/abisheks/xml4c2_3_1/include/util/Exception.hpp", line 38 #
    Ambiguous overloaded function declaration; default arguments make this
    function indistinguishable from previous one. Clashing function
    "XMLException::XMLException(const char *,const char *)" was previously
    declared at ["/home/abisheks/xml4c2_3_1/include/util/Exception.hpp", line
    36].
        XMLException(const char* const msg, const XMLCh* const type = 0)
        ^^^^^^^^^^^^                                                   
Error 399: "test.cpp", line 13 # Cannot use the :: operator with incomplete
    class XMLPlatformUtils
    ["/home/abisheks/xml4c2_3_1/include/util/String.hpp", line 295].
    XMLPlatformUtils::Initialize();
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
*** Error exit code 2
 
Stop.
 
I am on HP UX 11.0 and using the aCC compiler. What's wrong ?? I have changed the environment variables as mentioned in the installation procedure.
 
Thanks & best Regards,
Abhishek.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    _/               Abhishek Srivastava
   _/                Hewlett Packard ISO      
  _/_/_/   _/_/_/    -------------------  
 _/   /   _/  _/     (Work)   +91-80-2251554 x1190
_/  _/   _/_/_/      (Ip)     15.10.47.37           
        _/           (Url)    http://sites.netscape.net/abhishes/homepage                       
       _/            You've heard it all by now. Get wired or get whacked.
                     You're networking or you're not working. Dot-com or die
                     - SUN MICROSYSTEMS 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.