[xml] Wrong Behaviour Due to Fix to Bug #440159



Hi,

       The attached files return an encoding error on parsing. The xmlfile contains a reference to an entity in UTF-16 format, and ideally there should be no problems. On investigating I found that the problem occurs due to the changes made for bug fix #440159 (http://bugzilla.gnome.org/show_bug.cgi?id=440159) ,SVN Revision 3618(http://svn.gnome.org/viewvc/libxml2/trunk/encoding.c?r1=3545&r2=3618). If I revert the changes the parsing happens properly and there is no error.

 

Regards

Ashwin

 

Regards

Ashwin Sinha

Attachment: UTF16Entity.xml
Description: Text Data

Attachment: utf16b.xml
Description: Text Data

Attachment: utf16l.xml
Description: Text Data



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