Re: Editorial: Content model for <head>

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 UTC