[ 
http://issues.apache.org/jira/browse/XERCESC-679?page=comments#action_12368314 
] 

David Bertoni commented on XERCESC-679:
---------------------------------------

There is no way to configure the parser to process XML that is not well-formed. 
 Validation is something completely different, and is user-controllable, but an 
unmatched end tag is not a validation error.

However, the only reason for the IOT/Abort trap seems to be a bug in your 
application.  You must catch exceptions, because the parser uses them to report 
errors.  You can look at any of the sample programs to see how you can catch 
them.

> SAX2 throw unhandled exception on parsing file 60 Mb
> ----------------------------------------------------
>
>          Key: XERCESC-679
>          URL: http://issues.apache.org/jira/browse/XERCESC-679
>      Project: Xerces-C++
>         Type: Bug
>   Components: SAX/SAX2
>     Versions: 2.1.0
>  Environment: Operating System: Other
> Platform: Alpha
>     Reporter: Alex Gonchar
>     Assignee: Xerces-C Developers Mailing List

>
> xerces 1.7.0, 2_1_0
> Alpha
> TRU64 V5.1A (Rev. 1885)
> Compaq C++ V6.2-024 for Compaq Tru64 UNIX V5.1A (Rev. 1885)
> Hi2all,
> I discovered a critical problem when I try to parse 60 Mb file using SAX2. 
> This file contains 1 mln. record( element VALUE ), look like:
> <SEC NAME="afasfafa" TYPE="P">
>                        <VALUE NAME="A1">0</VALUE>
>                        <VALUE NAME="A10000">1765</VALUE>
>                        <VALUE NAME="A1000012">176473</VALUE>
>                        <VALUE NAME="A1000029">176476</VALUE>
>                        <VALUE NAME="A1000046">176479</VALUE>
>                         ......
>  <SEC NAME="afasfafa" TYPE="P">
> And all time I got fail:  "IOT/Abort trap"
> I have reproduced this fail on three independent servers.
> Using debugger I found that exception is thrown in SAX2XMLReaderImpl.cpp:547
> I really have a big problem with that :(
> Rgrds,
>     Alex

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to