Hi,
I was testing the SAXCount example with the 'personal.xml' data file
provided with the distribution. I have build the xerces binary v1.4 (
Release ) on Solaris and the example is also compiled in Release mode.
On changing the 'person' elements to 'persan', basically misspelling
it, I got the following message and a core dump.
../../bin/SAXCount ../data/personal.xml. (For untempered data, the
expected results are printed.)
Error at file
/home/ravishet/downloads/xerces-c1_4_0-SolCC/samples/data/personal.xml,
line 8, char 10
Message: Unknown element 'persan'
Segmentation Fault (core dumped)
dbx shows the following trace dump.
=>[1] 0xff317a2c(0xdc00, 0x0, 0xff168a80, 0xff168358, 0x0, 0xff168ac8),
at 0xff317a2b
[2] XMLScanner::scanStartTag(0x1, 0x60f08, 0xff35b17c, 0x5bff8,
0xdc00, 0xdbff), at 0xff320084
[3] XMLScanner::scanContent(0x43, 0x0, 0x1, 0xff3499b0, 0x5c0bc,
0x18028), at 0xff31e568
[4] XMLScanner::scanDocument(0x5bff8, 0x60298, 0x0, 0x5c064, 0x5bff8,
0x6c), at 0xff31ca2c
[5] XMLScanner::scanDocument(0x60298, 0x60298, 0x10, 0xffbedaa8,
0x60298, 0x0), at 0xff31c7cc
[6] XMLScanner::scanDocument(0x5bff8, 0xffbede6b, 0x0, 0xfffffff8,
0x0, 0x600d9), at 0xff31c904
[7] SAXParser::parse(0xffbedc28, 0xffbede6b, 0xff35b17c, 0x0,
0xffbede6b, 0xffbedc28), at 0xff30ccb8
[8] main(0x3fb43, 0x8cfdeda, 0x2, 0x4, 0x551e8, 0x2), at 0x20054
Would be grateful if anybody could tell me, what could be going wrong?
RaviShet
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]