Re: Xerces Parse Function Crashing

2011-12-13 Thread Vinay Kumar
MDocument* doc = parser.getDocument();     if (doc != 0)     loadDocument(doc);     } --- On Tue, 12/13/11, Vinay Kumar wrote: From: Vinay Kumar Subject: Re: Xerces Parse Function Crashing To: c-...@xerces.apache.org Cc: c-users@xerces.apache.org Date: Tuesday, December 13, 2011, 7:49 AM Th

Re: Xerces Parse Function Crashing

2011-12-13 Thread Vinay Kumar
The Code Snippet is as follows: { XercesDOMParser parser;     ErrorReporter errReporter;     parser.setErrorHandler(&errReporter);     std::cout <<  "---!Inside the load!---" << configFile.c_str() << std::endl;     parser.parse(configFile.c_str());     if (!errReporter.sawErrors()) {    

Re: Xerces Parse Function Crashing

2011-12-13 Thread Alberto Massari
Please include the source code of your application; the stack trace is not enough to understand what you are trying to do. Alberto Il 13/12/2011 15:27, Vinay Kumar ha scritto: Hi All, I am using Xerces-2.8.0 on HP-UX itanium machine. I am trying to pass a string of length of to xercesc_2_8::