Re: Incorrect attributes in tags

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 UTC