W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] validate attribute in <A>

From: Mike Hoye <mhoye@neon.polkaroo.net>
Date: Wed, 25 Jan 2006 16:14:07 -0500
Message-ID: <20060125211407.GA20967@bitchcake.off.net>

Note: This is a duplicate of a post that's waiting for approval, because
I sent it from the wrong address. Fat head error?

Hi, all. I hope this hasn't been proposed before, but if it is my
googlage is failing me. My proposal is for the addition of a "validate"
attribute to the the <a> element that would let the client verify the
content of a link as it comes in, and either put up a warning, a choice
or just silently drop the incoming data, depending on a user preference.

The validate attribute would describe an algorithm to employ and a result
to compare it to; for example, somebody downloading the en-US version
of FF 1.5 from the Mozilla.com homepage could click on a link like

[a href="http://foo.com/mozilla-i686.tgz"

and the client could verify as it comes in that it does at least have
the md5sum that's advertised.  User notifications could include "no
validation", "successfully validated" and "failed validation", and act
according to the user's wishes in each case.

Please let me know what you think.

- Mike Hoye

"Grumble, stumble, kitchen, bacon, yo."  - Geoff Seaborn
Received on Wednesday, 25 January 2006 13:14:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:25 UTC