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

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,

Received on Tuesday, 13 April 2010 10:13:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:26 UTC