i can see it as being consistant with xhtml but as far as i know xhtml doesnt 
parse cfm code yet. So it wouldnt actually make it compliant but certainly 
consistant.

 which i guess would bring up the ? of  which tags can be closed like that? can 
basically any of them? (except as was noted things such as custom tags).

----------------------------------------
From: Barney Boisvert <[EMAIL PROTECTED]>
Sent: Thursday, February 03, 2005 6:24 PM
To: CF-Talk <cf-talk@houseoffusion.com>
Subject: Re: cfset ? 

It's a personal style thing. I like it, because it's consistent with
the XHTML I create. I don't have to think about whether I'm writing
CFML or XHTML, I just close every tag.

One thing to watch out for, however, is custom tags. The self-close
is treated a closing tag, so if your custom tag isn't expecting that,
weird problems can arise. In theory, every custom tag will properly
check it's executionMode, and react accordingly, possibly by ignoring
a close tag that it wasn't expecting, but that's not always the case.

The first line will call the custom tag once, with executionMode =
"start", while the second line will call the custom tag twice, once
with executionMode = "start", and then again with executionMode =
"end". This goes for CFMODULE calls as well.

cheers,
barneyb

On Thu, 3 Feb 2005 18:14:19 -0500, dave  wrote:
> 
> ok this is dumb but was just curious about something
> 
> i have always done cfsets like suck
> 
> 
> but i was just browsing through one of charlie griefers articles and i see he 
> closes the tag, like suck
> 
> 
> the docs dont mention using a closing tag and i have never seen it before so 
> just curious
> 
> :)
> 
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193005
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to