[jdev] Escaping JID using XEP-0106

Sergei Golovan sgolovan at gmail.com
Wed Jun 27 03:53:29 CDT 2007


Hi!

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

I could do it in two ways:

1) user
    jabber.org
     user at jabber.org/resource

2) user\40jabber.org\27user
    jabber.org
   resource

XEP-0106 doesn't give an exact way of escaping such a JID. And if 1)
or 2) is preferrable then there's no way (or it's not easy) to send a
message to another JID.

Best wishes!
-- 
Sergei Golovan



More information about the JDev mailing list