W3C home > Mailing lists > Public > www-style@w3.org > June 1996

Re: LINK'ed style sheets

From: Dave Raggett <dsr@w3.org>
Date: Wed, 19 Jun 1996 15:06:22 -0400
Message-Id: <199606191906.AA230461186@w3.org>
To: Gavin Nicol <gtn@ebt.com>
Cc: bosak@atlantic-83.sun.com, cwilso@microsoft.com, knoblock@worldnet.att.net, www-style@w3.org

I think that using CDATA as the content model for <STYLE> and <SCRIPT>
would solve most peoples' concerns and avoid the need for escaping
characters line < or &

In this kind of element, only one delimiter is recognized by a conforming
parser: the end tag open (ETAGO) delimiter (i.e. the string "</"). The
recognition of this delimiter is constrained to occur only when immediately
followed by an SGML name start character ([a-zA-Z]). All characters which
occur between the STYLE or SCRIPT start tag and the first occurrence of
ETAGO in such a context must be provided to the appropriate script engine
or style sheet mechanism.

Note that all other SGML markup (such as comments, marked sections, etc.)
appearing inside a STYLE or SCRIPT element would be construed to be actual
character content of the STYLE or SCRIPT element and not parsed as markup.
A particular script engine or style sheet mechanism may choose to treat such
markup as it wishes. The use of a SGML comment to hide content from down level
browsers is then a matter for the application and *not* for the SGML parser.

-- Dave Raggett <dsr@w3.org> tel: +1 (617) 258 5741 fax: +1 (617) 258 5999
   World Wide Web Consortium, 545 Technology Square, Cambridge, MA 02139
   url = http://www.w3.org/People/Raggett
Received on Wednesday, 19 June 1996 15:06:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:44 GMT