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

Anne van Kesteren annevk at opera.com
Wed Jun 20 04:48:57 PDT 2007


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.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list