IBM4C parser on HP-UX

Yogita Patil ypatil at kingston.hummingbird.com
Mon Oct 25 15:49:04 BST 1999


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 ----- 
  From: Abhishek Srivastava 
  To: xml dev mailing list 
  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 
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ic.ac.uk/pipermail/xml-dev/attachments/19991025/b5f3dd72/attachment.htm


More information about the Xml-dev mailing list