The end of your comment only has "-->" but the start has "<!---". You are
missing a "-" on your closing comment

-----Original Message-----
From: Gavin Beau Baumanis [mailto:b...@palcare.com.au] 
Sent: Monday, 25 October 2010 11:51 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Weird CFML syntax error.

Hi Everyone,

I was recently in an area of our application that is seldom used and I got
an error about misformed CFML.
I think it was something like a missing the closing cfif tag - anyway...


Here is the patch that corrected it - but my question is why?

Index: /trunk/nz/northhaven/admin/index.cfm
===================================================================
--- /trunk/nz/admin/index.cfm (revision 18514)
+++ /trunk/nz/admin/index.cfm (revision 18537)
@@ -15,1 +15,1 @@
-</cfif><!--- end session checking -->
+</cfif><!--- end session checking --->

Not the opening comment is  HTML style - while the closing text is a CFML
comment.

Surely a comment of <!-- my comment ---> would just be treated as a HTML
comment?

I have tried to run some subsequent tests but I can't make the file error.
I have also reverted the change - and I still cannot get the file to error
again.

It is really weird!



As always, please contact me if I can be of any futher assistance.

Gavin "Beau" Baumanis
Senior Application Developer
PalCare Pty. Ltd.

P: +61 -3 9380 3513
M: +61 -438 545 586
E: b...@palcare.com.au
W: http://palcare.com.au

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.






=======
Email scanned by PC Tools - No viruses or spyware found.
(Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16140)
http://www.pctools.com/
=======





=======
Email scanned by PC Tools - No viruses or spyware found.
(Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16140)
http://www.pctools.com/
=======

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to