Hi Gavin
It looks like you had a mismatched comment there. You started with a CF
comment <!--- but tried closing it with a HTML comment --> - that's not
going to work.
The fix to make it ---> would have fixed the invalid cfml syntax.
Phil
On 25/10/10 11:50 AM, Gavin Beau Baumanis wrote:
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.