<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2014.210" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanx,</FONT></DIV>
<DIV><FONT face=Arial size=2>Yogita</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:abisheks@india.hp.com" title=abisheks@india.hp.com>Abhishek
Srivastava</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A href="mailto:xml-dev@ic.ac.uk"
title=xml-dev@ic.ac.uk>xml dev mailing list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, October 25, 1999 8:38
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> IBM4C parser on HP-UX</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I have installed the IBM for C++ XML parser. If I
write a simple program</FONT></DIV>
<DIV><FONT face=Arial size=2>like</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># include
<sax/HandlerBase.hpp></FONT></DIV>
<DIV><FONT face=Arial size=2># include
<parsers/ValidatingParsers.hpp></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>int main(int argc,char* args[])</FONT></DIV>
<DIV><FONT face=Arial size=2>{</FONT></DIV>
<DIV><FONT face=Arial size=2> try</FONT></DIV>
<DIV><FONT face=Arial size=2> {</FONT></DIV>
<DIV><FONT face=Arial size=2>
XMLPlatformUtils::Initialize();</FONT></DIV>
<DIV><FONT face=Arial size=2> }</FONT></DIV>
<DIV><FONT face=Arial size=2> catch(const XMLException&
toCatch)</FONT></DIV>
<DIV><FONT face=Arial size=2> {</FONT></DIV>
<DIV><FONT face=Arial size=2> cout
<< "error in initializing ";</FONT></DIV>
<DIV><FONT face=Arial size=2> }</FONT></DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I get the following error messages :
</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Warning 552:
"/home/abisheks/xml4c2_3_1/include/util/Exception.hpp", line 37
#<BR> Ambiguous overloaded function declaration; default
arguments make this<BR> function indistinguishable from
previous one. Clashing function<BR>
"XMLException::XMLException(const unsigned short *,const unsigned
short<BR> *)" was previously declared
at<BR>
["/home/abisheks/xml4c2_3_1/include/util/Exception.hpp", line
35].<BR> XMLException(const XMLCh*
const msg, const char* const type =
0)<BR>
^^^^^^^^^^^^
<BR>Warning 552: "/home/abisheks/xml4c2_3_1/include/util/Exception.hpp", line
38 #<BR> Ambiguous overloaded function declaration; default
arguments make this<BR> function indistinguishable from
previous one. Clashing function<BR>
"XMLException::XMLException(const char *,const char *)" was
previously<BR> declared at
["/home/abisheks/xml4c2_3_1/include/util/Exception.hpp",
line<BR> 36].<BR>
XMLException(const char* const msg, const XMLCh* const type =
0)<BR>
^^^^^^^^^^^^
<BR>Error 399: "test.cpp", line 13 # Cannot use the :: operator with
incomplete<BR> class XMLPlatformUtils<BR>
["/home/abisheks/xml4c2_3_1/include/util/String.hpp", line
295].<BR>
XMLPlatformUtils::Initialize();<BR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <BR>*** Error exit code
2</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Stop.<BR></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks & best Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Abhishek.</FONT></DIV>
<DIV><FONT face=Arial
size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>
_/
Abhishek Srivastava<BR>
_/
Hewlett Packard ISO <BR>
_/_/_/ _/_/_/ -------------------
<BR> _/ / _/ _/
(Work) +91-80-2251554 x1190<BR>_/ _/
_/_/_/ (Ip)
15.10.47.37
<BR>
_/
(Url) <A
href="http://sites.netscape.net/abhishes/homepage">http://sites.netscape.net/abhishes/homepage</A>
<BR>
_/ You've
heard it all by now. Get wired or get whacked.
<BR>
You're networking or you're not working. Dot-com or die
<BR>
- SUN
MICROSYSTEMS <BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR></FONT></DIV></BLOCKQUOTE></BODY></HTML>