W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Re: check for twice defined attributes ?

From: Alexander Biron <biron@ifh.de>
Date: Mon, 21 Aug 2000 10:50:13 +0200 (METDST)
To: Frank Steuer <steuer@ece.orst.edu>
cc: html-tidy@w3.org
Message-ID: <Pine.HPX.4.21.0008211046140.27691-100000@hpbai1.ifh.de>
Hi Frank,

one item on tidy's todo list (follow link from tidy page) is 
- sort attributes in canonical order
It makes sense to takle your problem in combination with this
task. BTW: what should be the default when the attribute values are
contradictory (e.g. <foo align="right" align="center">) Take the first -
get rid of both or quit with error?

On Sun, 20 Aug 2000, Frank Steuer wrote:

> JTidy, 4. August
> Example:
> <table border="0" cellpadding="0" cellspacing="0" bgcolor="ffffff"
> align="center" height="100%" width="100%" align="center" valign="middle">
> I now saw very often webpages out there where attributes are defined twice
> (by mistake). These double existing attributes are copied by jtidy in the
> result document.
> The xerces parser I use with xalan e.g. does not accept these twice
> defined attributes and exits the conversion process XML->*ml using XSL. 
> Is this going to be covered by one of the next versions of tidy or should
> I write an additional filter to eleminate one of these attributes ?
> frank
> ---------------------------------------------------
> Frank Steuer
> steuer@ece.orst.edu 
> for public PGP-key: finger -l steuer@ece.orst.edu
> ---------------------------------------------------

Cheers alex          Alexander Biron

work:	http://www.ifh.de/~biron/	private:
	Tel (+49)33762-77-233   	Tel(+49)30-4948857
	mailto:biron@ifh.de    		mailto:biron@frohnau-flamingos.de
Received on Monday, 21 August 2000 04:50:18 UTC

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