On Wednesday 10 December 2008 12:36:47 Arne Claassen wrote:
> Hmmm... then stringprep in agsXMPP might be borked, since in it user
> names stay in the case they were sent, which is where my troubles
> started.

When you stringprep a value, you learn two things:
  1) whether or not the value is valid
  2) the normalized/canonical form of the value

Technically, you should only need to involve the normalized form of a value 
when doing comparisons or using it as input to hash functions.  In other 
situations, such as display or transmission, it is fine to retain case as 
long as the value is valid.

-Justin
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
_______________________________________________

Reply via email to