You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Goel, Rohit" <RG...@trueposition.com> on 2001/03/30 17:49:08 UTC

Xerces-C sax2 core dump on Solaris 2.6

Hi,

I'm doing something very simple and I apologize if someone has already
submitted this.
I am using the Sax2  parser available with xerces 1.4.0.  I am on a Solaris
2.6 machine.
I am parsing a file that is missing an end tag for one of the elements

example:

<a>
   <ad>
   .
   .
   </ad>
  
   <b>

</a>

This file causes the parser to core dump.   I want to be able to catch this
exception notify the user of this error.  I implemented the fatalError()
method in my Handler class, but the program still crashes after invoking
that method.  I now know where the problem is in the file, but can't avoid
the program from crashing.  I don't want to the program to go down in this
situation.

Any help would be greatly appreciated.
Thanks

Rohit Goel
(610)680-1049
rgoel@trueposition.com


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org