[libxml++] Error Checking in parsers



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

I think we need to implement something a bit more clean and solid for checking 
errors after a parsing.

We already have a common function check_for_exception() which check for 
validity errors only.
I propose to make it check it _context->errNo, so any error libxml could 
report we catch it.
Since the errNo an int, I propose to modify parse_error class to take a libxml 
error number as a parameter in the constructor.

Comments/remarks welcome,

Christophe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+5wJYB+sU3TyOQjARAkGnAKCdVpkfwcqFRjj36OrTCNVU3tm2cACgm/Iu
ZTJ5v+OfCVMDzXaHzzoVVkA=
=LCtK
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]