W3C home > Mailing lists > Public > public-html@w3.org > May 2008

Re: Editorial: Content model for <head>

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 9 May 2008 07:11:10 +0000 (UTC)
To: Henri Sivonen <hsivonen@iki.fi>
Cc: HTMLWG WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0805090709580.23610@hixie.dreamhostps.com>

On Thu, 4 Oct 2007, Henri Sivonen wrote:
> 
> The content model for <head> is vague and one has to cross-check with the
> context rules for the children:
> > In any order unless otherwise specified: optionally one meta element with a
> > charset attribute, exactly one title element, optionally one base element,
> > and zero or more other metadata elements (in particular, link, meta, style,
> > and script).
> 
> I suggest the following text, which I believe doesn't change the meaning of
> the spec but would work better out-of-context (e.g. when displayed by a
> conformance checker):
> Optionally one meta element with a charset attribute, optionally followed by
> one base element, followed by in any order exactly one title element and zero
> or more other metadata elements (in particular, link, meta, style, and
> script).
> 
> You might also consider introducing the term "interleaving of":
> Optionally one meta element with a charset attribute, optionally followed by
> one base element, followed by an interleaving of one title element and zero or
> more other metadata elements (in particular, link, meta, style, and script).

This ended up being fixed by making the content model much simpler and 
requiring <base> to be before any other element with URIs in attributes 
as a separate constraint.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 9 May 2008 07:11:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:17 GMT