[whatwg] CDATA and RCDATA restrictions don't always trigger a parse error

On Wed, 20 Jun 2007, Henri Sivonen wrote:
>
> On Jun 20, 2007, at 14:48, Anne van Kesteren wrote:
> 
> > Currently CDATA and RCDATA are required not to contain the string </script>
> > for instance if the start tag is <script>. However, the following does not
> > trigger a parse error:
> > 
> >  <script><!-- </script> --></script>
> > 
> > yet it is non-conforming. Given that conformance checkers are required to
> > follow the parsing section this is a problem I think.
> 
> Would there be harm in resolving this by making it conforming?

My intent is to make it conforming, but I don't know how to express the 
author conformance requirement clearly without defining some abstract 
terms and having a whole chapter about it.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 20 June 2007 13:35:37 UTC