Hi, Robit,
I've tried to reproduce what u got by feeding the SAX2Print with your
instance XML document but unfortunately i failed to get a coredump.
Would you mind posting the your relavant sample code? It may help
us to identify the problem, thanks.
Regards,
Peiyong Zhang
____________________________________________
XML Parsers Development
IBM Toronto Laboratory email: [EMAIL PROTECTED]
Phone: (416)448-4088; Fax: (416)448-4414; T/L: 778-4088
"Goel, Rohit" <[EMAIL PROTECTED]> on 03/30/2001 10:49:08 AM
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: 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
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]