W3C home > Mailing lists > Public > public-html@w3.org > October 2009

Re: Issues arising from not reparsing

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 25 Oct 2009 23:59:49 +0000 (UTC)
To: Simon Pieters <simonp@opera.com>
Cc: Henri Sivonen <hsivonen@iki.fi>, HTMLWG WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0910252359250.13521@hixie.dreamhostps.com>
On Sun, 25 Oct 2009, Simon Pieters wrote:
> On Tue, 20 Oct 2009 03:58:20 +0300, Ian Hickson <ian@hixie.ch> wrote:
> > 
> > This also made the conformance requirements for <script> quite 
> > complex. I ended up using ABNF, but I couldn't quite work out how to 
> > do it without prose rules. If anyone can rephrase the ABNF for 
> > <script> restrictions without using prose rules, please let me know. 
> > (Also acceptable: a version of the ABNF in unambiguous English prose. 
> > I didn't even try in this case because I think it would be 
> > inpenetrable.)
> 
> It would be good to have similar (but less complex) content model 
> restrictions on the other (r)cdata elements in order to make 
> <style><!--</style> invalid because that causes weird parsing in legacy 
> browsers and is clearly an authoring mistake.

What rule do you want? Just making "<!--" invalid?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 26 October 2009 00:00:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:50 GMT