[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[xml] Help: Exception handling in libxml2
- From: <ajay konanurmurthy wipro com>
- To: <xml gnome org>
- Subject: [xml] Help: Exception handling in libxml2
- Date: Mon, 2 Feb 2009 11:50:42 +0530
Hello,
I am using the XML reader API of libxml2 to parse an XML file. While parsing , I get the following error:
parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xC7 0x41 0x49 0x53 <Name>AMITIÉS FRAN╟AISES ANTWERPEN</Name>.
Whenever I get this non-utf8 error, I would want to log it and pass on to the next node for processing without exiting the program. Is this exception handling possible with xmlreader?
Regards,
Ajay
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]