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" />
   </frameset>
</frameset>
==============

-- 
Jim Isaak
Internet/Standards Strategist
+-----------------------------------------------
J.Isaak@Computer.org http://www.JimIsaak.com
Candidate for the IEEE Board of Directors:
   www.ieee.org/organizations/corporate/divVIII.htm
Chair: Internet Best Practices Standards Committee
   http://computer.org/standards/Internet
+-----------------------------------------------
Received on Saturday, 1 December 2001 13:44:00 GMT

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