[jdev] Escaping JID using XEP-0106

Michal 'vorner' Vaner vorner at ucw.cz
Wed Jun 27 07:48:26 CDT 2007


Hello

On Wed, Jun 27, 2007 at 01:11:03PM +0200, Norman Rasmussen wrote:
>  On 6/27/07, Sergei Golovan <sgolovan at nes.ru> wrote:
> >
> > You're right. And the question is: "How to escape it? Can escaping be
> > done unambiguously?"
> 
> 
>  Yes, but only if you already know the split.

Is there a way the server part could contain @? I hope a domain name
can't contain it. I would take the last @ as the actual separator and
leave all the before as just part of the node (same as with email, where
you can have address like @@host.com, where the local name on host is
really @).

Do you think there may be a problem with this approach?

-- 
Wait few minutes before opening this email. The temperature difference 
could lead to vapour condensation.

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20070627/870cb12d/attachment-0002.pgp>


More information about the JDev mailing list