From: Christophe de V. <cde...@al...> - 2003-06-11 10:20:01
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I think we need to implement something a bit more clean and solid for check= ing=20 errors after a parsing. We already have a common function check_for_exception() which check for=20 validity errors only. I propose to make it check it _context->errNo, so any error libxml could=20 report we catch it. Since the errNo an int, I propose to modify parse_error class to take a lib= xml=20 error number as a parameter in the constructor. Comments/remarks welcome, Christophe =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+5wJYB+sU3TyOQjARAkGnAKCdVpkfwcqFRjj36OrTCNVU3tm2cACgm/Iu ZTJ5v+OfCVMDzXaHzzoVVkA=3D =3DLCtK =2D----END PGP SIGNATURE----- |