Haven't followed this whole thread, not sure what you're doing, but
the CFML comment sequence should never print through to the output at
all, ***when interpreted by a CFML engine***. If you're reading the
file somehow, then it's not being handled as CFML, and you'll have to
deal wiht it according to your circumstances. But as CFML, the
validator hsould never see it, because it doesn't render on the page.
It's a comment, not HTML.

Dave

On Sun, Nov 14, 2010 at 7:47 PM, Terry Troxel <terry.tro...@gmail.com> wrote:
>
> These are the errors I get with XHTML Transitional
> Line 10, Column 27: invalid comment declaration: found name character
> outside comment but inside comment declaration
> <!--- this is a comment --->
>  Line 10, Column 1: comment declaration started here
> <!--- this is a comment --->
>
> Terry
>
> -----Original Message-----
> From: Azadi Saryev [mailto:azadi.sar...@gmail.com]
> Sent: Sunday, November 14, 2010 4:22 PM
> To: cf-talk
> Subject: Re: Homesite Comment Command
>
>
> iirc, the 3-dash cf comment does not trip html validation. the 3rd dash
> is considered the first character of comment text.
> i do not ever remember having trouble with cf comments in W3C validator.
>
> Azadi
>
> On 15/11/2010 07:54 , Terry Troxel wrote:
>> Russ thanks for answering.
>> I guess I wasn't specific enough.
>> Is there a keyboard shortcut command to do the html comment in Homesite?
>> I use Coldfusion in my Site Admin for my clients to design their pages and
>> then
>> When they update it writes all the pages to plain html for SEO as well as
>> speed.
>> If there is a command it would save me a bunch of time programming instead
>> of
>> Deleting the extra dashes by hand.
>>
>> Terry
>>
>> -----Original Message-----
>> From: Russ Michaels [mailto:r...@michaels.me.uk]
>> Sent: Sunday, November 14, 2010 2:36 PM
>> To: cf-talk
>> Subject: RE: Homesite Comment Command
>>
>>
>> Terry,
>>
>> <!--- This is a ColdFusion Comment --->
>> <!-- This is a HTML comment -->
>>
>> If you put an HTML comment around CFML it will do nothing and the code
> will
>> still execute.
>> CFML comments do not appear in the source code so any HTML validation will
>> not see it, if you are running the validation on the CFML source then just
>> ignore the comments.
>>
>> Russ
>>
>> -----Original Message-----
>> From: Terry Troxel [mailto:terry.tro...@gmail.com]
>> Sent: 14 November 2010 22:21
>> To: cf-talk
>> Subject: Homesite Comment Command
>>
>>
>> I don't know if this is OT or not.
>> I Homesite 5+ in CFML Basic the<!--- comment command gives you this:<!---
>> --->
>> Where can I change that to output:<!--  -->  as W3C doesn't validate with
>> the 3 dashes?
>>
>> Terry
>>
>>
>>
>>
>>
>>
>>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339224
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to