Re: HTML Pro questions

Christopher R. Maden (crm@ebt.com)
Tue, 5 Nov 1996 21:47:31 GMT


From: "Christopher R. Maden" <crm@ebt.com>
Date: Tue, 5 Nov 1996 21:47:31 GMT
Message-Id: <199611052147.VAA24548@phaser.EBT.COM>
To: galactus@htmlhelp.com (ArnoudEngelfriet)
CC: www-html@w3.org
In-reply-to: <5k6fy4uYOlHR089yn@htmlhelp.com> (galactus@htmlhelp.com)
Subject: Re: HTML Pro questions

["Galactus"]
> This is probably a stupid question, but if the content of TITLE is
> defined as #PCDATA, then why would *any* element inside TITLE be
> valid? Isn't the #PCDATA model just "plain text with entities"?

Yes, it is - but there was an inclusion exception on the parent
element (head).  That means that anywhere within that element,
including within its children, the included elements are legal.  Thus:

<!ELEMENT head  O O (title & isindex?) +(meta|link)>
<!ELEMENT title - - (#PCDATA)>

allows <meta> and <link> inside <title>.  An exclusion exception
offsets that:

<!ELEMENT title - - (#PCDATA) -(meta|link)>

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//GCA//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//EBT//NONSGML Christopher R. Maden//EN" SYSTEM
"<URL>http://www.ebt.com <TEL>+1.401.421.9550 <FAX>+1.401.521.2030
<USMAIL>One Richmond Square, Providence, RI 02906 USA" NDATA SGML.Geek>