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

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?

Henri Sivonen
hsivonen at iki.fi

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