When I first encountered this issue back in a beta release, I thought  
it was a bug, as well (in fact, I nearly filed it as one), however  
someone explained it to me, and it made sense.  When I saw this thread,  
I couldn't remember what that reason was, so I asked Sean, and he  
reminded me that the purpose is to make your ColdFusion code  
case-insensitive, even on a UNIX platform.  In other words, by  
lowercasing the filenames before looking up the CFC, you call call a  
component "Person.cfc" or "PERSON.CFC" or "perSON.cFc" in your code,  
and "person.cfc" will always be the name looked up.

It seems strange at first, but it makes sense.  It is essentially an  
attempt to make CF case-insensitive on a case sensitive OS.

Christian

On Tuesday, January 14, 2003, at 03:01 PM, Dave Carabetta wrote:

>> No, when a CFM looks up a CFC, it  has to be lowercase.  However, the  
>> bug
>> is when a CFC calls another CFC, it's case insensitive and it should  
>> be
>> lowercase just like the original.
>
> I guess that's my next question then. Why does it *have* to be lower  
> case?
> If I'm on a *nix system, I've come to expect case-sensitivity in my  
> file
> naming. Why the change for MX?
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to