[jdev] Escaping JID using XEP-0106

Sergei Golovan sgolovan at nes.ru
Wed Jun 27 07:09:23 CDT 2007

On 6/27/07, Matthias Wimmer <m at tthias.eu> wrote:
> HI Sergei!
> Sergei Golovan schrieb:
> > Or may be hiding real (escaped) JIDs from the user is a bad idea at all?
> In fields where a general JID is expected, I'd say you should display
> the full (escaped) JID. - As only this one is a JID.
> The whole fuzz about escaping is just to make something a JID, that
> wouldn't be one else. So if you need a JID you will always display the
> result of the escaping.
> IMO you only do unescaping, if you want to display something that is not
> a JID but the original address. And you should only do this on places
> where the user is aware about the fact, that he does not see a JID, but
> an other address.

I see. Table 3 in section 5.1 confused me a bit (especially column
"User Input"). So, if I want to show unescaped JID it's better to show
only a node (if it's appropriate). It seems to be too complicated.
Thanks anyway.

Sergei Golovan

More information about the JDev mailing list