Hi,
Why do you want to limit it anyway? What problems do we have at the moment
with the unlimited length of strings?
cheers
Tobias
On 6/22/07, Peter Saint-Andre <[EMAIL PROTECTED]> wrote:
Currently, the XML schema for the jabber:iq:roster namespace does not
limit the length of an item name or a group name. I think that might
cause problems. In particular I think it might be good to specify that:
1. The 'name' attribute can be a string between 0 and 1023 characters in
length. [1]
2. The XML character data of the <group/> element can be a string
between 1 and 1023 characters in length.
Objections?
/psa
[1] I am assuming that the following are equivalent:
<item jid='[EMAIL PROTECTED]'
name=''/>
<item jid='[EMAIL PROTECTED]'/>
If we don't like name='' then we could specify that the
'name' attribute must be of non-zero length. But I see no
harm in saying that including name='' in a roster set is
equivalent to not including the 'name' attribute.