[jdev] Case sensitivity in JIDs

Peter Saint-Andre stpeter at stpeter.im
Wed Dec 10 13:39:27 CST 2008

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.


More information about the JDev mailing list