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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 20 Jun 2007 13:48:57 +0200
Message-ID: <op.tt7xrvgt64w2qv@annevk-t60.oslo.opera.com>
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/>
Received on Wednesday, 20 June 2007 04:48:57 UTC

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