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

On Wed, 20 Jun 2007 22:31:37 +0200, Henri Sivonen <hsivonen at iki.fi> 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?

The harm might be that it's not compatible with Firefox in Standards mode.

-- 
Simon Pieters

Received on Wednesday, 20 June 2007 15:31:58 UTC