Hire Me! I'm currently looking for my next role in developer relations and advocacy. If you've got
an open role and think I'd be a fit, please reach out. You can also find me
on LinkedIn.
Simple question - but does anyone know why CFEXECUTE tags must be closed? In other words, you can't do this:
<cfexecute name="parispic" variable="result">
You must either do this:
<cfexecute name="parispic" variable="result" />
Or
<cfexecute name="parispic" variable="result"></cfexecute>
The docs say you that you should not put anything between the closing and end tags, but this is perfectly valid:
<cfexecute name="parispic" variable="result">
<cfset x = 1>
</cfexecute>
But if you try to use X, you get an error. It's almost as if the ColdFusion developers imagined some other tag that would work on the inside - but then changed their mind.