Hi Alberto,

I resolved my problem. I used SAXParser::cacheGrammarFromParse  function
to enable the cache. Then started working fine.

Thanks a zillion for your support. Thank you so much..


Thanks & Regards,
Sasikumar Kandhasamy
Project Engineer | Wipro Technologies | Madivala-4 | Bangalore.
Mobile:- +91 9986378586 

"Dreams into Thoughts and Thoughts into Actions" -- Dr. A P J Abdul
Kalam


-----Original Message-----
From: Alberto Massari [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 09, 2007 4:53 PM
To: [email protected]
Subject: RE: Getting core dump at xerces::SAXParser::parse function
[RefHash2KeysTableOf::removeAll]

Sasikumar,
the informations I have don't allow me to guess where the error is; try
avoiding global variables and make the SAXParser a private variable of
the class (deleting it in the destructor).

Alberto

At 16.07 09/08/2007 +0530, [EMAIL PROTECTED] wrote:

>Alberto,
>I am struck with these core dumps. Any idea on these....
>
>
>Thanks & Regards,
>Sasikumar Kandhasamy
>Project Engineer | Wipro Technologies | Madivala-4 | Bangalore.
>Mobile:- +91 9986378586
>
>"Dreams into Thoughts and Thoughts into Actions" -- Dr. A P J Abdul 
>Kalam
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Sent: Thursday, August 09, 2007 2:08 PM
>To: [email protected]
>Subject: RE: Getting core dump at xerces::SAXParser::parse function 
>[RefHash2KeysTableOf::removeAll]
>
>
>Alberto,
>It is single thread application. But We will not recreate the SAXParser

>instance. Because we will check for NULL before creating the instance.
>So first time it will be created and reuses the instance for the reset
.
>
>Sample code is,
>XMResponseParser::XMResponseParser()
>                  : response("")
>{
>  try
>     {
>
>         if (handler == NULL) {
>                 handler = ::new SAXPrintHandlers();
>         }
>         if (Parser == NULL) {
>                 Parser = ::new SAXParser();
>         }
>//  set the SAX parser to validate
>         Parser->setValidationScheme(SAXParser::Val_Always);
>         Parser->setDoNamespaces(true);
>         Parser->setDoSchema(true);
>         Parser->setValidationSchemaFullChecking(true);
>     }
>     catch (const XMLException& toCatch)
>     {
>                 ....
>     }
>}
>
>Thanks & Regards,
>Sasikumar Kandhasamy
>Project Engineer | Wipro Technologies | Madivala-4 | Bangalore.
>Mobile:- +91 9986378586
>
>"Dreams into Thoughts and Thoughts into Actions" -- Dr. A P J Abdul 
>Kalam



The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

Reply via email to