[jdev] Escaping JID using XEP-0106

Mridul Muralidharan mridul at sun.com
Wed Jun 27 07:21:01 CDT 2007


Sergei Golovan wrote:
> On 6/27/07, Matthias Wimmer <m at tthias.eu> wrote:
>> Matthias Wimmer schrieb:
>> > The resource is allowed to contain '@' as well as '/'. Everything 
>> behind
>> > the first '/' character in a JID is the resource.
>>
>> ... but this has nothing to do with XEP-0106 BTW.
>>
>> XEP-0106 is about mapping non-JID addresses in a JID. e.g. if you have a
>> E-Mail address, that cannot map directly in a JID you will use XEP-0106.
> 
> As far as I understand, XEP-0106 is also about visual representation
> of JID. And I think that if two different JIDs have one visual
> representation then it's bad.
> 

It is not about visual representation.
xep 106 is about encoding pieces of the jid such that they are compliant 
with xmpp requirements in a standard way.

Mridul



More information about the JDev mailing list