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

Henri Sivonen hsivonen at iki.fi
Wed Jun 20 13:31:37 PDT 2007


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
http://hsivonen.iki.fi/





More information about the whatwg mailing list