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

Re: "http-equiv" unrecognized

From: Rossano Basile <Rossano.Basile@italtel.it>
Date: Wed, 07 Jul 1999 08:38:36 +0200
Message-Id: <3782F5EC.138F4101@ic8sd2.settimo.italtel.it>
To: html-tidy@w3.org
Craig Horman wrote:
> 
> Mea culpa. I fixed this locally but didn't submit the changes to Dave.
> 
> FYI, the modification simply consisted of adding the following line to
> lexer.c:InitMap
> 
>     MapStr("-_", extended);
> 
> And modifying the conditional in lexer.c:isValidAttrName to:
> 
>             if( (map & lowercase) ||
>                 (map & uppercase) ||
>                 (map & digit) ||
>                 (map & extended))
>                 continue;
> 

	Of course you also need to add 

#define extended 128

in the /* lexer char types */ section in html.h.

	Ross.
Received on Wednesday, 7 July 1999 02:51:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT