Those should never get out of the parse() call. If they are reaching you,
then the problem is really that they aren't getting caught internally as
they should (perhaps for the reason you indicate), which will cause many bad
problems. I'd suggest using a compiler that works personally.
--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com
"I'm not sure how I feel about ambivalence"
----- Original Message -----
From: "Alexander Zeyliger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 11:50 AM
Subject: Re: error thrown by parser
>
> It looks like xerces throws exceptions of type XMLErrs::Codes (which
> is an enum). My platform is Solaris 8 with Forte 6.1, and the
> compiler (or is it debugger?) seems to get confused: I think
> they treat enums as ints, and don't really know what to catch
> when an int is thrown.
>
> In my application, if an incomplete XML file is passed to the
> SAX parser, one of those exception gets thrown and the consequences
> range from the debugger error messages and its not being able
> to break on throw or catch clauses (in debug build) to program crashes (in
> release build -- I should propbably start catching integers and
> not just XMLExceptions).
>
> Does anyone have any thoughts on this?
> Would this be a xerces misfeature or compiler bug?
>
> Thank you,
> AZ
>
> ---------------------------------------------------------------------
> 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]