Re: <NOFRAMES> in HTML 4.01 Strict

Christopher Atkinson wrote:
> 
> I am having trouble validating a page containing the <NOFRAMES> element
> within the <BODY> against the HTML 4.01 Strict DTD.
> 
> The validator gives me an error stating that <NOFRAMES> is an undefined
> element.
> 
> I checked the current proposed recommendation, which states that "[t]he
> NOFRAMES element can be used with all DTDs defined for HTML 4.01."
> (http://www.w3.org/TR/html40/present/frames.html#edef-NOFRAMES) I then ran a
> quick search of the Strict DTD (http://www.w3.org/TR/html40/sgml/dtd.html),
> but found no definition for the NOFRAMES element, although a search of the
> Loose DTD (http://www.w3.org/TR/html40/sgml/loosedtd.html) yielded one.
> 
> I then took precisely the same page which had been getting kicked back with
> errors, substituted the "Transitional" DOCTYPE declaration for the prior
> "Strict" DOCTYPE declaration. On submission of the page with the altered
> DOCTYPE, the validator informed me the page was valid.
> 
> If the NOFRAMES element is included in the Strict DTD, as the text of the
> Proposed Recommendation states, and if my page is valid under the
> Transitional DTD, why won't it validate to the Strict DTD?

There appears to be an error in the HTML 4.01 Proposed Recommendation. 
Either the text you've quoted or the Strict DTD needs to be changed. 
I've CC'd www-html-editor@w3.org.

-- 
Liam Quinn
A Real Validator for Windows, http://arealvalidator.com
Web Design Group, http://www.htmlhelp.com

Received on Tuesday, 21 December 1999 18:48:21 UTC