Re: Implied end of HEAD element

From: eva (eva@algonet.se)
Date: Fri, Apr 30 1999


Message-ID: <008401be9342$802e5fc0$b2e9a3c3@eva>
From: "eva" <eva@algonet.se>
To: <www-validator@w3.org>, "Kynn Bartlett" <kynn@idyllmtn.com>
Date: Fri, 30 Apr 1999 12:48:01 -0700
Subject: Re: Implied end of HEAD element

From: Kynn Bartlett <kynn@idyllmtn.com>


>My expectation was that the <BR> would signal the end of the
>HEAD element, and <BR> would pass fine, <LINK> would get flagged
>as something that doesn't belong in a BODY element, and <BODY>
>would get flagged because there's already a BODY element that
>started when the <BR> was encountered.

The beginning of the BODY element is marked either by it's start tag
<BODY> or if such is omitted by % flow or INS or DEL.  %flow is defined
as %block | %inline.

 BR is an inline element and as such can only occur in block elements or
other inline elements (which are in block elements). Therefore the
beginning of the BODY element is marked either by it's start tag <BODY>
or if such is omitted by a block element or INS or DEL.

BR, not being a block element, cannot mark the beginning of the BODY.
/e