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)?
> 
> [EMAIL PROTECTED]/[EMAIL PROTECTED]/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/

Reply via email to