GNOME Bugzilla – Bug 431165
Dies on id that starts with a number in a css rule
Last modified: 2008-11-16 18:10:14 UTC
[ Forwarded from http://bugs.debian.org/359965 ] "I have managed to produce a small test case: -------------------------------------------------------------------- <?xml version="1.0" encoding="utf-8"?> <rss version="2.0"> <channel> <title>test</title> <link/> <item> <title>test</title> <description><![CDATA[<style type="text/css">#1 {}</style><br id="1"/>]]></description> </item> </channel> </rss> -------------------------------------------------------------------- This causes liferea to die with the reported error message. If I change the #1 to #i within the <style> tag, liferea no longer dies. Also, the bug only appears when using the gtkhtml backend. Now, this is arguably not-a-bug, since the HTML spec says that ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods ("."). but i'm not sure we should just dismiss it, because of the old 'be liberal in what you accept' thing. Thus, I just downgrade it to minor." I can reproduce this with version 2.11.0.
I am unable to reproduce this error with SVN gtkhtml2. The page does not render for me, but there is no console printed error, and the testgtkhtml application does not crash. Can you please try to reproduce this problem with the version of gtkhtml2 in SVN, and provide more information? Thanks.
I tried SVN r1152, but still get the crash and error. I used the test code from the original bug report. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=359965 I will ping the original bug submitter from Debian and ask him to have a look also.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!