[jdev] Escaping JID using XEP-0106

Matthias Wimmer m at tthias.eu
Wed Jun 27 06:20:07 CDT 2007


Hi Tomasz!

Tomasz Sterna schrieb:
> Dnia 27-06-2007, śro o godzinie 12:53 +0400, Sergei Golovan napisał(a):
>> Could someone clarify how to escape the following JID (and to split it
>> into node, server and resource)?
>>
>> user at jabber.org/user at jabber.org/resource 
> 
> This is not a JID.
> (in other words: this is invalid JID)

It is a valid JID.

Node: user
Domain: jabber.org
Resource: user at jabber.org/resource

The resource is allowed to contain '@' as well as '/'. Everything behind
the first '/' character in a JID is the resource.



Matthias

-- 
Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/




More information about the JDev mailing list