[Standards] roster schema
hildjj at gmail.com
Sat Jun 23 21:42:32 CDT 2007
On Jun 23, 2007, at 8:11 PM, Peter Saint-Andre wrote:
> Typically, both the handle (i.e., the value of the 'name'
> attribute) and
> the group name are stored in a database. If you can put the complete
> text of RFC 3920 as the handle and the complete text of RFC 3921 as
> group name, then those values probably can't be stored as sent.
> Also if
> these strings can be of infinite length then the packets may become
> big to process in the server (10 Meg roster set, anyone?). It seems
> reasonable to limit the sizes. I doubt that anyone will ever set
> or group names to be even 1024 characters in length, but at least that
> limit will enable client and server developers to handle the roster
> items and make sure that roster sets and pushes can be processed.
+1 for limiting it.
However, 1024 octets please, rather than characters, like JIDs.
More information about the Standards