W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2005

HTML 4.01 Specification - query

From: Norman Paterson <norman@dcs.st-and.ac.uk>
Date: Thu, 5 May 2005 16:51:58 +0100
Message-Id: <f0620070ebe9fe5aa03d5@[138.251.194.40]>
To: www-html-editor@w3.org

Not sure if this is a typo or my mistake.  Section 7.4.2 of 
REC-HTML401-19991224 has:

	<!ELEMENT TITLE - - (#PCDATA) -(%head.misc;) -- document title -->

where

	<!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|OBJECT" -- 
repeatable head elements -->

I don't see why -(%head.misc;) is necessary in the element definition 
of TITLE.  If it is necessary, why is it not also necessary to forbid 
all other elements besides those in %head.misc;?  One source of my 
confusion is that I am not sure exactly what PCDATA means.  As far as 
I have been able to discover, PCDATA may contain character references 
such as &lt; but no tag-based markup such as <EM>...</EM>; which is 
consistent with -(%head.misc;) being unnecessary.
-- 
--
Norman Paterson                                Senior Scientific Officer
School of Computer Science          http://www.dcs.st-and.ac.uk/~norman/
University of St Andrews                         Tel +44 (0) 1334 463262
Received on Friday, 6 May 2005 14:41:23 GMT

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