W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

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

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 20 Jun 2007 23:31:37 +0300
Message-ID: <2AB6851F-BC43-4AC3-B2C8-C38742946E4C@iki.fi>
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/
Received on Wednesday, 20 June 2007 13:31:37 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC