CFML Tags Not Being Ignored

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
kennedyrt
Rank II - Novice
Rank II - Novice
Posts: 20
Joined: Fri Nov 09, 2007 9:57 pm
Location: Kent, Washington

CFML Tags Not Being Ignored

Post by kennedyrt » Mon May 05, 2014 5:35 pm

I have Flag 116 unchecked but I'm getting the error "The "cfsilent" element is not allowed here (as a child of the "tr" element). The "tr" element must contain only the following child elements: "td", "th", and script-supporting elements (like "script")." Other CFML tags are being ignored.

It happens in the following portion of this table:
<tr>
<td>&nbsp;</td>
<cfsilent>
<cfset thisPage = GetFileFromPath(cgi.CF_TEMPLATE_PATH)>
<cfdirectory directory="#GetDirectoryFromPath(GetTemplatePath())#" name="TimeStamp" filter="#GetFileFromPath(GetTemplatePath())#">
</cfsilent>
<td class="footerCopyNoHover" valign="top">This page was last updated: <cfoutput>#DateFormat(TimeStamp.DateLastModified,"mmmm. d, yyyy")#</cfoutput>
<br />Copyright &copy; <cfoutput>#DateFormat(TimeStamp.DateLastModified,"yyyy")#</cfoutput> XYZ. All rights reserved.</td>
</tr>

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3412
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: CFML Tags Not Being Ignored

Post by Albert Wiersch » Tue May 06, 2014 8:53 am

Thanks for the report. I've fixed this for the next update.
Image
Albert Wiersch

Post Reply