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

Re: proper use of validation icons

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sun, 7 Jun 2009 21:38:10 +0300
Message-ID: <37FCEFE0E0BE44C2BA6FBB514A98C639@JukanPC>
To: "Michael A. Peters" <mpeters@mac.com>
Cc: <www-validator@w3.org>
Michael A. Peters wrote:

> I do use the specific DTD.
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
> <!ATTLIST input autocomplete (on | off) #IMPLIED>
> ]>
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

You are not using the XHTML 1.1 DTD. The DTD you use contains your addition.

> And no - HTML is not just as extensible.
> To add an attribute you have to define a new DTD. You can't do the
> above with html.

I can, but browsers have traditionally refused to implement this part of 
SGML, along with some other parts. HTML is defined as an SGML application 
but implemented as tag soup.

You don't need to define any attribute in order to use it. The browsers that 
support autocomplete couldn't care less whether it's defined in a DTD - they 
don't even read any DTD (when they work in HTML mode).

> People who don't care at all just don't care at all, no damage done.

If you noticed a statement "Zumpy HXHGALX 4.2!" on a web page, would you say 
"no damage done"? What if it were a link and clicking on it threw some 
mystic report at you?

Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Sunday, 7 June 2009 18:40:37 UTC

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