[Standards] What is the size limit of node and item ids in XEP-0060: Publish-Subscribe?

Florian Schmaus flo at geekplace.eu
Thu Mar 1 07:52:29 UTC 2018


On 01.03.2018 01:17, Peter Saint-Andre wrote:
> On 2/28/18 3:18 PM, Timothée Jaussoin wrote:
>> Hi,
>>
>> I came across a database limitation while implementing Pubsub in Movim.
>>
>> I'd like to know if we have a limitation for the size of the node and items ids in Pubsub (like we have for the JIDs).
>> Also do we have some specific forbid characters, basically what is the format of such attributes?
>> If noting is already specificed I think that it would be wise to update the 0060 to do so.
> 
> My inclination is to specify a length of 1023 octets

Which would break applications and protocols using JIDs as node or item
identifier. This includes for example MIX. If we want to allow this, we
need at least (3x1023)+2 octets, and then I would probably go for 4096
octets.

- Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 642 bytes
Desc: OpenPGP digital signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20180301/bfd5de49/attachment.sig>


More information about the Standards mailing list