[Standards-JIG] Still not sure ...

Jean-Louis Seguineau /EXC/TEC jean-louis.seguineau at antepo.com
Fri Sep 10 12:04:08 UTC 2004

I may sound weird, but what was the reson for limiting the length of the
portions in a JID in the first place ?


----- Original Message -----
> From: Matthias Wimmer [mailto:m at tthias.net]
> Sent: Thu 9/9/2004 1:08 AM
> To: standards-jig at jabber.org
> Cc:
> Subject: [Standards-JIG] Still not sure ...
> Hi list!
> I am still not sure if it has been a good idea, that xmpp core 3.1
> limits the length of the portions in a JID to 1023 B in UTF-8 encoding.
> This might seem to be a good choice for programs using 8 bit character
> types ... but it makes it hard to check if a JID is valid if you use
> wide character types like wchar_t in modern C/C++ or the standard
> type of Java.
> For most modern languages it seems to be easier to check the number of
> characters in a string than the number of bytes in a corresponding UTF-8
> byte sequence.
> Tot kijk
>     Matthias

More information about the Standards mailing list