- From: Peter Sarro <peter.sarro@gmail.com>
- Date: Mon, 3 Aug 2009 14:27:58 -0400
- To: "www-validator@w3.org" <www-validator@w3.org>
- Cc: psarro@convergencewebs.com
- Message-ID: <f6d111f00908031127j10c74a7dw297cbbd40c2c473@mail.gmail.com>
First, the error message the validator throws is not in you database it would seem. The problem/validator bug: Here is some (X)HTML that was *direct input* into the validator and which verifies error-free as valid XHTML 1.0 Frameset: -------------------------------------------------------------- <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>My Frameset</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> </head> <frameset rows="130,*,60"> <frame src="topMenu.html" name="topFrame" scrolling="no" noresize="noresize" id="topFrame" title="topFrame" /> <frame src="HomePageSlideshow.html" name="mainFrame" id="mainFrame" title="mainFrame" /> <frame src="footerMenu.html" name="footerFrame" scrolling="no" noresize="noresize" id="footerFrame" /> <noframes> <body> Your browser does not support frames. </body> </noframes> </frameset> </html> --------------------------------------------------------------- With respect to the above code you will note that for the first frameset tag, where "rows=130,*,60" is specified, there is no other attribute such as frameborder, border, or framespacing. Placing any one or more of the following attributes: frameborder, framespacing, or border, results in the Validator error. Using framborder results in an error stating that: " Attribute "frameborder" exists, but can not be used for this element. " Both framespacing and border are not defined, according to 16.2.2 "The Frame Element" (at URL: http://www.w3.org/TR/REC-html40/present/frames.html) - so I would expect using those two elements would therefore cause a validation error. However, with respect to the same referece to the FRAME element under 16.2.2"The FRAME element", under *Attribute Definitions* specifies a number of attributes and " frameborder" is listed as being a valid attribute for the Frame element with the possible value of either 0 (zero) or 1 (digit one). Attempting to validate the above code WITH the frameborder="0" or frameborder="1" attribute, for example, <frameset rows="130,*,60" frameborder="0">, results in a Validator error of: "Attribute "frameborder" exists, but can not be used for this element. " So is this a validator BUG (it would appear to be) or have I missed something subtle here??? Thank you, Peter Sarro peter.sarro@gmail.com
Received on Wednesday, 5 August 2009 11:45:39 UTC