[JDEV] Strange UpperCase/lowercase handling in 'conference' confuses chatbot.

Jens Alfke jens at mac.com
Fri Sep 14 17:02:39 CDT 2001


On Friday, September 14, 2001, at 08:45 AM, Dave Waite wrote:

> The room names are case insensitive by JID rules (username and server 
> portions are case-insensitive). If ten people are in the room and all 
> joined with different cases in the name; one calling it room, another 
> calling it Room, another ROOM, etc. which one does the room use when 
> talking to its participants?

The name given when it was created. The usual rule for managing case 
insensitive entities  (e.g. in Mac and Windows filesystems) is to 
preserve case when creating, and ignore case when comparing. Therefore 
clients and serverse should be case-insensitive when comparing chat-room 
names, but the server should always send packets using the case 
originally used.

--Jens




More information about the JDev mailing list