W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: Duplicate attribute names

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 7 Nov 2000 23:30:07 +0100
Message-ID: <000b01c0490a$491530c0$72ccb43e@de>
To: "Gary L Peskin" <garyp@firstech.com>, "Html-Tidy" <html-tidy@w3.org>
* "Gary L Peskin" <garyp@firstech.com> wrote:
| Tidy allows duplicate attribute names inside an element like
| this:
|  <td valign=top valign=top>
| It issues a warning regarding the repeated attribute but keeps the
| attribute in the document and outputs it in PPrint.

What else should tidy do? Which value should tidy keep? Or should tidy remove
both? I think it's up to the author to decide what to do with those dups. Yes,
this may cause problems, but it was the author who created this problem, tidy
could not fix it in an appropriate way.

My suggestion would be to issue an error message when converting to XHTML.
Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de
am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://bjoern.hoehrmann.de
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote +{i}
..weaving a secure, well-formed, standard compliant WWW for =everyone=..
Received on Tuesday, 7 November 2000 17:28:59 UTC

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