>>works fine for missing variables however is there a way to identify context validation errors such as missing </cfif> etc.
missig variables are execution time errors, but missing </CFIF> are syntax errors. <CFERROR can trap execution errors, but not syntax errors since they happen during compilation and execution is never started. Anyway, I'm pretty sure somebody here will tell you that syntax errors should never happen on a production server, all your templates should be tested on your development plateform first. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:357347 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm