GNOME Bugzilla – Bug 357330
[subparse] some sami parser minor but enhanced patch
Last modified: 2006-09-23 14:31:20 UTC
I'll submit some minor, but enhanced patch for sami parser. It contains 3 minor bug fix. 1. At http://bugzilla.gnome.org/show_bug.cgi?id=169936#c28 , there is an workaround for converting "silver" value. But "silver" string is not case-sensitive. So it need to replace "xmlStrncmp" to "xmlStrncasecmp". 2. At Bug 344503, as well as No.1, face property is not case-sensitive, either. 3. At Bug 343303, there is an workaround for bad entities. but I missed to handle decimal entities (ex: &#xxxxx; ). Would someone commit it please? Thanks.
Created attachment 73276 [details] [review] sami parser enhanced patch
Thanks, committed: 2006-09-23 Tim-Philipp Müller <tim at centricular dot net> Patch by: Young-Ho Cha <ganadist at chollian dot net> * gst/subparse/samiparse.c: (handle_start_font), (fix_invalid_entities): More case-insensitivity for certain tags; recognise entities with decimal codes as special entities as well (#357330). (no need to use g_ascii_strncasecmp for the '#' character though).