W3C home > Mailing lists > Public > www-validator@w3.org > December 2001

use of name and id in XHTML frame element

From: Jim Isaak <j.isaak@computer.org>
Date: Thu, 29 Nov 2001 10:18:00 -0500 (EST)
Message-ID: <3C065199.6030006@computer.org>
To: www-validator@w3.org
I'm using validator as part of my web design
classes, and the example below as a question
on "well-formed" vs "valid" vs "legal" for
XHTML frameset DTD.  (when enclosed in
<?xml, <!DOCTYPE, <html xmlns... tags.)
It is well formed and illegal (copyright issue)
but is it valid? ... following the lead in Dave
Ragget's book (WROX, Beginning XHTML, pg197)
the "name" attribute is deprecated, and "id"
attribute the correct way to indicate the
frame name.  However, it validates as "OK"
with validator (using "name" but not "id").

Should ID be required if name is included?
(Please respond to me directly since I've not
joined the reflector. -- thanks.)
<frameset rows="64,*">
   <frame   name="banner" scrolling="no"
         noresize="noresize" src="MyAds.htm" />
   <frameset cols="150,*">
      <frame name="contents" scrolling="auto"
	src="MyIndex.htm" />
      <frame name="body" scrolling="auto"
	 src="http://www.newyorktimes.com" />

Jim Isaak
Internet/Standards Strategist
J.Isaak@Computer.org http://www.JimIsaak.com
Candidate for the IEEE Board of Directors:
Chair: Internet Best Practices Standards Committee
Received on Saturday, 1 December 2001 13:44:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:32 UTC