W3C home > Mailing lists > Public > www-html@w3.org > November 1999

Re: HTML comments in <title> elements - valid or not?

From: Russell Steven Shawn O'Connor <roconnor@uwaterloo.ca>
Date: Mon, 8 Nov 1999 12:13:03 -0500 (EST)
To: W3C HTML <www-html@w3.org>
Message-ID: <Pine.SOL.3.95q.991108120832.27337A-100000@wronski.math.uwaterloo.ca>
On Mon, 8 Nov 1999, Dan Connolly wrote:

> Perhaps we should have added a NOTE about why this restriction is there:
> it's there because older HTML implementations treated <!--...---> as
> character data, and I think some versions of the HTML spec declared
> the TITLE element as CDATA. So there are known interoperability
> problems,
> so authors are prohibited from going there.

Actually come to think about it, if interoperability is an issue, then why
move to PCDATA? This is going to break older implementations anyway.  If
we are going to break older implementaitons, why no go all the way and
allow comments in titles?  Comments (and esp marked sections) could be
very useful.

ex

<TITLE/<![TEMP[DRAFT - ]]>HTML 4.01 spec/

-- 
Russell O'Connor                           roconnor@uwaterloo.ca
       <http://www.undergrad.math.uwaterloo.ca/~roconnor/>
``And truth irreversibly destroys the meaning of its own message''
-- Anindita Dutta, ``The Paradox of Truth, the Truth of Entropy''
Received on Monday, 8 November 1999 12:13:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:40 GMT