W3C home > Mailing lists > Public > public-html-comments@w3.org > April 2010

Restrictions for contents of script elements

From: Julien Royer <eldebaran@gmail.com>
Date: Tue, 13 Apr 2010 12:12:46 +0200
Message-ID: <k2x61d755091004130312jb9ec2c80k5bb0db4c576c88b6@mail.gmail.com>
To: public-html-comments@w3.org
Hi,

I don't understand the restrictions defined for the content of script
elements: http://dev.w3.org/html5/spec/semantics.html#restrictions-for-contents-of-script-elements

script being a raw-text element, it can't contain the "script-end"
production (http://www.w3.org/TR/html5/syntax.html#cdata-rcdata-restrictions).

Why do we need such a complex ABNF for the content of script elements?

Thank you,

Julien
Received on Tuesday, 13 April 2010 10:13:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:14:02 GMT