This is already fixed in the latest code. Thanks for the reporting it
though, since it might not have been.

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]



Maxim Volkonovsky <[EMAIL PROTECTED]> on 01/20/2000 07:19:59 AM

Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:
Subject:  SAXParser exception handling



Hello,

Does any reason exist not to have default exception catcher in
SAXParser.cpp (line 263 and below)? If I want to implement partial parsing
that
throws matching case by my own exception, there is no way to reuse parser
object due to internal fParseInProgress flag, that remains signalled. I
think that something like

    catch (...)
    {
        fParseInProgress = false;
        throw;
    }

at that place, or additional  method SAXParser.reset() to reset
fParseInProgress flag will solve that thing.

Best regards,                           mailto:[EMAIL PROTECTED]
 Maxim                       CMA Small Systems AB, software consultant





Reply via email to