W3C home > Mailing lists > Public > www-validator@w3.org > June 2000

Re: Validation of frameset

From: Keith Bowes <keith_bowes@hotmail.com>
Date: Fri, 30 Jun 2000 21:57:01 -0700
Message-ID: <20000701015613.50494.qmail@hotmail.com>
To: "Jonathan Edwards" <supertyphoon@mindspring.com>, <www-validator@w3.org>
The problem is that your DOCTYPE declarartion identifies the frameset document as HTML 4.0 Transitional, but it should be HTML 4.0 Frameset.

If you change the DOCTYPE, there will still be errors, however.  The "FRAMESET" element doesn't have "BORDER", "FRAMEBORDER", or "FRAMESPACING" attributes.  However, the "FRAME" element does have the "FRAMEBORDER" attribute, but the "FRAMEBORDER" attribute must have a value of "1" or "0".

As an alternative, the MSIE 3.0 DTD (FPI: "-//Microsoft//DTD Internet Explorer 3.0 HTML//EN") also has frames and allows the "FRAMEBORDER" and "FRAMESPACING" attributes for both "FRAMESET" and "FRAME" elements.  However, it doesn't allow the "BORDER" and "ONLOAD" attributes.

  ----- Original Message ----- 
  From: Jonathan Edwards 
  To: www-validator@w3.org 
  Sent: Thursday, June 29, 2000 6:09 PM
  Subject: Validation of frameset


  I have always avoided trying to validate my frameset files through validator.w3.org. The results that come back make no sense:

  'Error: there is no attribute "ROWS"'  *YES THERE IS!*

  'Error: there is no attribute "FRAMEBORDER"'   *YES THERE IS!*

  'Error: there is no attribute "ONLOAD"'   *YES THERE IS!*

  'Error: there is no attribute "SRC"'   *YES THERE IS!*

  'Error: there is no attribute "SCROLLING"'   *YES THERE IS!*

  'Error: there is no attribute "MARGINWIDTH"'  *YES THERE IS!*

  'Error: there is no attribute "MARGINHEIGHT"'  *YES THERE IS!*

  'Error: "NORESIZE" is not a member of a group specified for any attribute'  *WRONG!*

  'Error: there is no attribute "NAME"'   *YES THERE IS!*

  'Error: end tag for "FRAME" omitted, but its declaration does not permit this'  *YES IT DOES; THERE IS NO END TAG FOR "FRAME"!*
Received on Friday, 30 June 2000 21:56:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:54 GMT