Re: Incorrect attributes in tags

On Wed, 24 Jan 2007 05:19:00 -0500, Laurent Carcone <laurent@w3.org> wrote:

> On Tue, 23 Jan 2007 15:34:34 -0500
> "Charles McCathieNevile" <chaals@opera.com> wrote:

>> > 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'
>>
>> Hello Laurent! What is this file? Can I edit it, and test Amaya with new
>> attributes that I want to enable (or more restrictive profiles)?
>
> Hello Charles,
>
> In fact, this file is included in Amaya binary, if you want to modify it 
> you need to get the sources of Amaya and make your own binary.
> It is called 'HTMLnames.h' and located in the repertory Amaya/amaya. 
> There are some comments within the file and the structure of the tableis  
> defined in 'parser.h'. Each line refers to an element/attributedefined  
> in the S schema (HTML.S). If you want to add some new ones, youneed  
> first to modify this schema (also the presentation schema HTMLP.P I 
> guess). Hope this help

Thank you!

Actually, I haven't compiled Amaya from source since 1999, and I am not  
sure if
I will try it again, but yes that is helpful. At least I know what to do  
if I
want to try it now...

cheers

Chaals

-- 
Charles McCathieNevile, Opera Software: Standards Group
hablo español - je parle français - jeg lærer norsk
chaals@opera.com Try Opera 9.1 http://opera.com

Received on Wednesday, 24 January 2007 14:48:39 UTC