> As far as I know it's only an XHTML requirement to close all
> tags (e.g., ) and not a CF issue. Since CF never outputs
> CFtags to the browser is this actually necessary?
No.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber vendor-aut
I do?
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Dave Francis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 12, 2007 6:25 PM
To: CF-Talk
Subject: RE: XHTML Style CF?
And because Bobby yells at you if you don
And because Bobby yells at you if you don't ;)
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 12, 2007 4:37 PM
To: CF-Talk
Subject: Re: XHTML Style CF?
>it's not at all necessary. just a personal preference thing.
>
>i d
We've adopted it as part of our coding standards. it just seems easier to read.
I'm not 100% sure, but CFEclipse seems to validate XML style CFML better. I
know I've opened some older CFCs with it and it wouldn't give me an outline of
all the methods when the code wasn't marked up like that.
A
>it's not at all necessary. just a personal preference thing.
>
>i do it because i like to keep consistent in my code. but i recognize
>that functionally, it serves no purpose whatsoever :)
Admit it. You do it because the difference between xhtml and cf code mixes you
up! :)
Will
~
Its mostly a coding style thing.
The style guide that company I work for put out requires that all tags that
can be closed are closed.
As Charlie stated it serves no purpose whatsoever. But it does look nice.
--
Gary Gilbert
http://www.garyrgilbert.com/blog
~~
Completely a personal preference thing. Some of us are just more
comfortable keeping to a single style of coding. Thus we don't have to
always be thinking; "This line is CFML it does not need a closing
'/'...This line is XHTML, it needs a closing '/'".
Personally it limits the times I make XH
it's not at all necessary. just a personal preference thing.
i do it because i like to keep consistent in my code. but i recognize
that functionally, it serves no purpose whatsoever :)
On 9/12/07, Robert Harrison <[EMAIL PROTECTED]> wrote:
> I've noticed some other programmers are now using a c
Well, I do it because I like XHTML formatting.
Additionally there is a suggestion here:
http://livedocs.adobe.com/wtg/public/coding_standards/style.html
that says:
CFML & XHTML Compliance
ColdFusion source code cannot quite be written to be purely XHTML-compliant
because of certain tags (cf
9 matches
Mail list logo