[jdev] Necessity of stringprep support for the client

Sergey Dobrov binary at jrudevels.org
Wed Aug 22 13:14:57 UTC 2012


So, can we sum up the conversation? What is the best way to handle JIDs
in js for the moment?

On 08/16/2012 03:23 PM, Sergey Dobrov wrote:
> Can XMPP work in conformity with XMPP Core if it can't do stringprep?
> The question has arisen because of js that doesn't have a possibility to
> do stringprep transformations and it's hard to do in script because we
> will need to download huge tables to the client.
> 
> My solution was to stringprep with a special query to a server. Though
> that approach works good with several optimizations (we can stringprep
> on client if jid has no unicode characters, we can cache once
> stringprep'd jids) has obvious cons like dependence on the
> stringprep'ing service.
> 


-- 
With best regards,
Sergey Dobrov,
XMPP Developer and JRuDevels.org founder.


More information about the JDev mailing list