[xsd-users] xerces exceptions

Eric Niebler eric at boostpro.com
Thu Apr 29 10:45:34 EDT 2010


On 4/29/2010 7:52 AM, Boris Kolpackov wrote:
> Hi Eric,
> 
> Eric Niebler <eric at boostpro.com> writes:
> 
>> I've discovered (a bit too late sadly) that xsd lets xerces exceptions
>> propagate. Ideally, I'd like to deal exclusively with std and xsd types
>> and not let any xerces types leak into my code. Is there an option to
>> have xsd catch and translate xerces exceptions?
> 
> No, no such option yet. Though I agree we should do it and I have 
> added an item to the TODO list.
> 
> What can make it less of a problem is the fact that only "hard" 
> errors are reported by Xerces-C++ as exceptions (e.g., an out of 
> memory condition). Things like XML parsing errors are handled via
> error handlers and are translated by the XSD-generated code.

Thanks, Boris. Where can I find a complete list of the "hard" errors? I
need to know what xerces exceptions to handle in my code.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20100429/63acbce8/signature.pgp


More information about the xsd-users mailing list