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


Thanks for the input.


-- 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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC