Warning: Think before using a xml
Like most of the developers, I use a / on all my HTML tags and also on my CFML tags.. at lease most of them. This morning I called a custom tag that was installed at a client's server, where I work at the moment and the application grinded to a halt... what was the case?
I called the custom tag like this.
<cf_answer name="something" returnvar="qGet" />
Nothing wrong with it, except that i'm used to having a start and end processing in my custom tags.
<!--- Do things at the start --->
<!--- Do things at the end, mostly nothing --->
You probably can guess what was wrong with the application this morning and yes you're right.. the custom tag didn't have this mechanism, where you can skip the end processing of the custom tag. The / at the end told ColdFusion to process the tag again... (I knew this... but didn't think about it)
Before you go rolling on the ground laughing... it's just a reminder to all (like me) that are used to there own method of programming, to sometimes think back to why you program the way you do....