HTML parser bug involving <!-- in <script>

Harri Porten porten at froglogic.com
Tue Jun 28 21:59:13 BST 2005


On Tue, 28 Jun 2005, Allan Sandfeld Jensen wrote:

> > Anyone who recently worked on the tokenizer and <!-- comments feels like
> > investigating this issu?
> >
> > Any KDE 3.3 or 3.4.0 user around to try the page as well?
> >
> An off topic question. Why do you set the doctype to XHTML when you use
> broken SGML comments?

The test case has been reduced from a real world (Horde) web page. Didn't
play much with the doctype and left it in as I guessed that it might be an
decisive factor.

Btw, I don't think that the <!-- comments inside of <script> elements are
really valid in any mode, no?

Harri.





More information about the kfm-devel mailing list