<!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.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<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></BODY></HTML>