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 "Ken Gathmann (JIRA)" <xe...@xml.apache.org> on 2006/03/01 17:53:42 UTC

[jira] Commented: (XERCESC-679) SAX2 throw unhandled exception on parsing file 60 Mb

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

Ken Gathmann commented on XERCESC-679:
--------------------------------------

Having the same problem with an xml log file which an application appends too.  The SAX2 parser aborts with "IOT/Abort trap" if the </psadmin> end tag is not present.  Is there a way to work around this by turning off document validation?

<?xml version="1.0"?>
<psadmin>
<psaccountlog psa="cdwdmgr" host="he1cdw1-15" timestamp="2005-08-09-15.06.50.000000" user="f204372" name="Ken P Gathmann">
        <command_line>find /fmacdata/dev/mis/cdw/. -group cdwftpgp</command_line>
</psaccountlog>
<psaccountlog psa="cdwdmgr" host="he1cdw1-15" timestamp="2005-08-09-15.24.13.000000" user="f204372" name="Ken P Gathmann">
        <command_line>cat /fmac/users/cdwdmgr/.psaccount.cfg</command_line>
</psaccountlog>
<psaccountlog psa="cdwdmgr" host="he1cdw1-15" timestamp="2005-08-09-16.20.43.000000" user="f204372" name="Ken P Gathmann">
        <command_line>cat /fmac/users/cdwdmgr/.psaccount.cfg</command_line>
</psaccountlog>


> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org