[xsd-users] xerces exceptions

Eric Niebler eric at boostpro.com
Mon Apr 26 14:47:03 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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? An obvious one would be
to translate xercesc::OutOfMemoryException into std::bad_alloc, for
instance.

- -- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJL1d+nAAoJEAeJsEDfjLbXP60IAJO9ZCGAilc81bf7Du6FYSs7
Kr9ZYne9p8xj6sxXqaLFcuI4TWhFNMuOp7TvQ3pcv3a0g5U+/6uNoRgeLwzMsic9
l9oDq4PZno2OoSsiL8e6E9sAUGCZpKD/uS4kfM6smToEAcgyKuYs3JRoVFHLqd3S
ZW99fCpKqj2bGFL+Z5VLigwh9WItFWaptJ/MeHCoEGnkKpSOO0xFWWf+W3BntmS2
TxqfVfguleXpsrnt5T9czEE2uUU9cnIwAoXJMdznYCi1ZK52Cc9x3cNUt/INDPvu
1Oq8wlfvsxBZSw9z1RUWdb0hhwpLqbRsXtlopaNb91uRGug1AeYhs7a8CIJ1RyU=
=4qHO
-----END PGP SIGNATURE-----



More information about the xsd-users mailing list