Re: proper use of validation icons

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