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

Help using Tidy with ColdFusion tagged files

From: Larry W. Virden <lvirden@cas.org>
Date: Thu, 5 Dec 2002 08:49:27 -0500 (EST)
Message-Id: <20021205084926.AAB25027@cas.org>
To: html-tidy@w3.org



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 08:49:59 UTC

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