W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

Re: Tidy doesn't work with MS Webclasses

From: Dave Raggett <dsr@w3.org>
Date: Fri, 24 Mar 2000 11:45:43 -0600
To: "Todd V. Clark" <tvclark@denalitek.com>
Cc: html-tidy@w3.org
Message-ID: <OF264A6149.2654C36C-ON8625687E.0045C799@rfdinc.com>

On Sat, 5 Feb 2000, Todd V. Clark wrote:

> I noticed that tidy has a problem parsing Microsoft Webclass
> tags.  All webclass tags begin with "<WC@".  The programmer of
> the webclass defines these tags for the application.  For
> example:
>
> <WC@DOMAINNAME>test.com</WC@DOMAINNAME>> Even if defining WC@DOMAINNAME in the .CFG file as a block level
> tag, tidy stops parsing the tag name at the '@'.
>
>     <WC@DOMAINNAME>test.com</WC@DOMAINNAME>>     becomes:
>
>     <WC DOMAINNAME>test.com</WC>>
> Any ideas (besides not using webclasses) <g>

Tidy is picky about what characters it expects within tag names.
Perhaps I should add an option to make it less picky. In the
meantime you could patch the code for ParseTagName() in lexer.c
or you could add @ to the namechar set defined in InitMap() also
in lexer.c. The source code is available from the Tidy home page

  http://www.w3.org/People/Raggett/tidy

Thanks for the input.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 385 320 444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Friday, 24 March 2000 13:14:40 GMT

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