OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: IBM4C parser on HP-UX

[ Lists Home | Date Index | Thread Index ]
  • From: "Yogita Patil" <ypatil@kingston.hummingbird.com>
  • To: "xml dev mailing list" <xml-dev@ic.ac.uk>
  • Date: Mon, 25 Oct 1999 09:48:09 -0400

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 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS