W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

Re: Fixing duplicate definitions of an attribute

From: Richard A. O'Keefe <ok@atlas.otago.ac.nz>
Date: Thu, 12 Apr 2001 12:03:48 +1200 (NZST)
Message-Id: <200104120003.MAA32400@atlas.otago.ac.nz>
To: html-tidy@w3.org, lieuwen@research.bell-labs.com
Daniel Lieuwen <lieuwen@research.bell-labs.com> wrote:

	I suggest that duplicate definitions of an attribute, e.g.,
	<foo num=7 num=8 y=9 num=3>
	not simply be flagged with a warning, but repaired to the appropriate
	using the last attribute definition---in other words this should become
	<foo num="3" y="9">
This is not just a problem that has come up before,
it is a problem for which I submitted CODE last year.

Some browsers take the *first* definition, some take the *last*,
so forcibly taking the last definition would in many cases be dead wrong;
the code I posted gave you the power to chose which one you got.

What happened to that patch, anyway?
Received on Wednesday, 11 April 2001 20:04:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC