On Fri, May 27, 2005 at 05:00:28PM +0200, Cyrill Osterwalder wrote: > case. But such HTML code is actually legal and can hit the HTML parser any
No this is not legal HTML. http://www.w3.org/TR/html401/appendix/notes.html#notes-specifying-data "When script or style data is the content of an element (SCRIPT and STYLE), the data begins immediately after the element start tag and ends at the first ETAGO ("</") delimiter followed by a name start character ([a-zA-Z]); note that this may not be the element's end tag. Authors should therefore escape "</" within the content. Escape mechanisms are specific to each scripting or style sheet language." > time again. Especially it can be delivered by any content provider where I broken content can be delivered by anybody. But nobody is then garanteed to parse it correctly. Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
