[jdev] Escaping JID using XEP-0106

Peter Saint-Andre stpeter at jabber.org
Wed Jun 27 17:19:22 CDT 2007


Sergei Golovan wrote:
> On 6/27/07, Matthias Wimmer <m at tthias.eu> wrote:
>> Hi Sergei!
>>
>> Ah okay ... it seems I start understanding what you are trying to do.
>> You want to map a JID (or something like that) into another JID, e.g.
>> for building the infamous Jabber-Jabber transport.
> 
> Not exactly. I want to implement XEP-0106 in Tkabber and the idea was
> to show only unescaped JIDs to a user. But since different escaped
> (real) JIDs map to one escaped JID then it's impossible (user should
> definitely know who sent the message).
> 
> My current yhought is the following: to show unescaped JID if and only
> if it can be escaped unambiguously.
> 
> But this approach isn't good too (appending different resources we may
> break unescaping of any bare JID).
> 
> So, probably I will not unescape / and @ in nodes. It should solve
> ambuguity.

Sure, try that out and see how it goes.

Peter

-- 
Peter Saint-Andre
XMPP Standards Foundation
http://www.xmpp.org/xsf/people/stpeter.shtml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20070627/8890e7db/attachment-0002.bin>


More information about the JDev mailing list