Now if only there were an alternate syntax for the
CFIF..CFELSEIF..CFELSE tags that was XML compliant...  Totally
optional, but available to use if you need XML compliant CFML for some
reason.

Of course, that's remarkably off-topic, but the hope that that might
sometime exist is another tangible reason to always quote your
attributes.  Plus it makes your CFML more consistent with the (X)HTML
that it's likely embedded in.  Same deal with closing slashes on empty
tags (CFSET, CFTHROW, etc).

cheers,
barneyb

On Wed, 15 Sep 2004 12:48:43 -0400, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> > It still meets my definition (I'm hashing "x" to specify
> > the variable within
> > a string).  However other might are argue that the
> > following is "good":
>
> > <cfloop from=1 to=x index="Cnt"></cfloop>
>
> Tag attributes should be quoted in three situations:
>
> 1) always
> 2) always
> 3) always
>
> Imo even suggesting that it's possible to leave an attribute unquoted
> is reprehensible.
>
> Where's my lynchin' rope? ...  :)
>
>
> s. isaac dealey   954.927.5117

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com

Got GMail?  I can help.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to