W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2007

Re: Incorrect attributes in tags

From: Laurent Carcone <laurent@w3.org>
Date: Tue, 23 Jan 2007 19:23:38 +0100
To: Jeff Hunt <jeff.hunt@stagecoach.co.nz>
Cc: www-amaya@w3.org
Message-Id: <20070123192338.1ad037e7.laurent@w3.org>

Hellol Jeff,

On Tue, 16 Jan 2007 08:40:14 +1300
Jeff Hunt <jeff.hunt@stagecoach.co.nz> wrote:

> 
> Several times I have come across attributes that validate in Amaya, but
> not w3c validator. The latest is an alt inside an <a> tag.
>  An example is <a title="test" alt="another test"></a>
> The incorrect alt tag validates in Amaya.

This bug is fixed in cvs version.

> 
> I wonder if it is possible to design Amaya to automatically know which
> attributes are acceptable (and by inference what are not) in some sort
> of general file, before it begins other more specific validation checks.

Amaya works with an external file at parsing that indicates which elements/attributes are allowed according to the doctype.
There was an error in that file for the attribute 'alt'

> 
> This is important to me because although I realise that Amaya does a lot
> more than validate, I primarily use it as an editor / validator at which
> it is generally so very good.
> 
> Cheers
> 

Thanks for your help

-- 
  Laurent Carcone	
  carcone@w3.org              W3C/ERCIM
  +33 (0)4 76 61 52 67        INRIA Rhône-Alpes, 655 Avenue de l'Europe
                              38334 Saint Ismier Cedex - France
Received on Tuesday, 23 January 2007 18:15:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:45 GMT