Re: Issues arising from not reparsing

On Tue, 20 Oct 2009 03:58:20 +0300, Ian Hickson <> 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.

Simon Pieters
Opera Software

Received on Sunday, 25 October 2009 13:14:43 UTC