Re: What are the problems with IDML?

Doug Donohoe:
> Megazone wrote:
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> > <html>
> > <title>spew</title>
> > <LINK REV=MADE HREF="mailto:spider@livingston.com">
> > <META NAME="fu" CONTENT="bar">
> > <BODY>
> > etc deleted
> > 
> > That is perfectly valid!
> 
> Not that this is pertinent to IDML as a whole, but the fact is that
> according to the W3C standard, META tags may only appear inside HEAD
> tags.  You can validate this for yourself at:
> 
>    http://www.sandia.gov/sci_compute/elements.html#META
> 
> Where it says that META is "allowed in content of <HEAD>" (and
> nothing else).  Nevertheless, the above is not rejected by browsers,
> so I'll concede this point.

Please take the time to learn some SGML, and to read the HTML
*specifications*, not a non-normative document maintained by an HTML
user.

The <meta> element is allowed in a <head> *ELEMENT*, not within <head>
tags.  The definition of the <head> element allows its tags to be
omitted.  In the example Megazone gives above, the <link> and <meta>
elements *are* in the <head> element, by virtue of the content model.

-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>

Received on Friday, 16 August 1996 20:15:22 UTC