[jdev] Case sensitivity in JIDs

Peter Saint-Andre stpeter at stpeter.im
Wed Dec 10 13:40:28 CST 2008

Peter Saint-Andre wrote:
> Arne Claassen wrote:
>> I'm running into a problem with sending messages directly to resources  
>> which I think is related to case sensitivity, so I wanted to make sure  
>> I am understanding the spec right.
>> Should foo at bar.com/Resource be the same as foo at bar.com/resource? (This  
>> is using ejabberd)
> No, those are different. ResourceIDs are case-insensitive whereas
> usernames and hosts are not. Basically. :) It's more complicated than
> that for Unicode characters, but that's the general idea.

Er, sorry, typo. Resource IDs are case-sensitive whereas usernames and
hostnames are not.


More information about the JDev mailing list