W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2004

[Bug 817] Image map usemap attribute does not validate

From: <bugzilla@wiggum.w3.org>
Date: Sun, 04 Jul 2004 09:46:47 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Bh3aB-0005Hp-8W@wiggum.w3.org>


ville.skytta@iki.fi changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

------- Additional Comments From ville.skytta@iki.fi  2004-07-04 05:46 -------
Don't trust Google, the validator is correct :)

In XHTML 1.1, usemap is defined as IDREF, and IDREFs cannot start with "#". 

If you want your image maps to work with mainstream browsers and your documents
to validate, use XHTML 1.0 (see also below).  It defines usemap as CDATA
(through &URI;), and you can happily use usemap="#foo" which, unlike the XHTML
1.1 version usemap="foo", works with most browsers.

XHTML 1.0 is the current de facto recommendation for HTML, by the way; there are
very few if any browsers out there that really support XHTML 1.1. 

------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
Received on Sunday, 4 July 2004 05:46:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:06 UTC