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: Mon, 7 Feb 2000 12:41:49 +0000 (GMT Standard Time)
To: "Todd V. Clark" <tvclark@denalitek.com>
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.10002071237420.252-100000@OEMCOMPUTER>
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:
> Even if defining WC@DOMAINNAME in the .CFG file as a block level
> tag, tidy stops parsing the tag name at the '@'.
>     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 Monday, 7 February 2000 07:41:54 UTC

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