W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2002

Re: Help using Tidy with ColdFusion tagged files

From: Charles Reitzel <creitzel@rcn.com>
Date: Thu, 05 Dec 2002 10:21:00 -0500
Message-Id: <4.3.2.7.2.20021205101907.02d713f8@pop.rcn.com>
To: "Larry W. Virden" <lvirden@cas.org>
Cc: html-tidy@w3.org

You can't get rid of those warnings.  Declaring the extra tags changes them 
from error (which causes tags to be deleted, even with --force-output yes) 
to a simple warning.  In large part, because Tidy now knows how to treat 
the tag.  How does your output markup look?

take it easy,
Charlie

At 08:49 AM 12/5/2002 -0500, Larry W. Virden wrote:



>I've a case where I'd like to use tidy to check files marked up with a
>blend of ColdFusion and HTML.  ColdFusion is a preprocessor type application
>server language (think PHP, ASP, etc.).
>
>Right now, I have the following in a tidy config file:
>
>new-inline-tags: CFABORT, CFAPPLET, CFAPPLICATION, CFASSOCIATE, 
>CFAUTHENTICATE, CFBREAK, CFCACHE, CFCOL, CFCOLLECTION, CFCONTENT, 
>CFCOOKIE, CFDIRECTORY, CFELSE, CFELSEIF, CFERROR, CFEXIT, CFFILE, CFFTP, 
>CFGRIDCOLUMN, CFGRIDROW, CFGRIDUPDATE, CFHEADER, CFHTMLHEAD, CFHTTPPARAM, 
>CFINCLUDE, CFINDEX, CFINPUT, CFINSERT, CFLDAP, CFLOCATION, CFMAIL, 
>CFMODULE, CFOBJECT, CFPARAM, CFPOP, CFPROCPARAM, CFPROCRESULT, CFREGISTRY, 
>CFSCHEDULE, CFSEARCH, CFSET, CFSETTING, CFSLIDER, CFSTOREDPROC, 
>CFTEXTINPUT, CFTHROW, CFTREEITEM, CFUPDATE, CFWDDX
>new-blocklevel-tags:  CFFORM, CFGRID, CFHTTP, CFIF, CFLOCK, CFLOOP, 
>CFOUTPUT, CFQUERY, CFREPORT, CFSCRIPT, CFSELECT, CFSWITCH, CFCASE, 
>CFDEFAULTCASE, CFTABLE, CFTRANSACTION, CFTREE, CFTRY, CFCATCH
>
>However,
>
>HTML Tidy for Solaris (vers 1st June 2002; built on Jun 11 2002, at 06:28:18)
>
>
>is generating this type of error:
>
>line 1 column 1 - Warning: <cftry> is not approved by W3C
>
>line 6 column 1 - Warning: <cfif> unexpected or duplicate quote mark
>
>line 8 column 1 - Warning: missing </cfsetting> before </cfif>
>
>etc.
>
>Does anyone have any ideas on how to get tidy and ColdFusion pages to
>work better together?
>--
>Tcl - The glue of a new generation.  <URL: http://wiki.tcl.tk/ >
>Larry W. Virden <mailto:lvirden@cas.org> <URL: 
>http://www.purl.org/NET/lvirden/>
>Even if explicitly stated to the contrary, nothing in this posting should
>be construed as representing my employer's opinions.
>-><-
Received on Thursday, 5 December 2002 10:17:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC