[jdev] Escaping JID using XEP-0106

Tomasz Sterna tomek at xiaoka.com
Wed Jun 27 05:42:08 CDT 2007

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)

There is no way of telling which part is a node, domain, resource.
You need to escape it FIRST (using XEP-0106) to be a valid JID before
trying to parse/split it.

Tomasz Sterna
Xiaoka Grp.  http://www.xiaoka.com/

More information about the JDev mailing list