On 11/19/09 3:00 PM, Peter Saint-Andre wrote: > On 11/19/09 1:54 PM, Andy Skelton wrote: > >> Second, should >> versioning also apply to items, as the section title implies? > > Possibly. > > <message from='pubsub.shakespeare.lit' to='[email protected]' id='foo'> > <event xmlns='http://jabber.org/protocol/pubsub#event'> > <items node='princely_musings' > ver='some-version-string-for-the-node'> > <item id='ae890ac52d0df67ed7cfdf51b644e901' > publisher='[email protected]' > ver='another-version-string-for-the-item'> > [ ... ENTRY ... ] > </item> > </items> > </event> > </message>
It seems to me that for a particular item, all you really need is a simple counter, not fancier versioning. But that might be true of the entire node, too. Anyway, defining this as we do for 'ver' in XEP-0237 leaves the precise format up to the server implementation. Peter -- Peter Saint-Andre https://stpeter.im/
smime.p7s
Description: S/MIME Cryptographic Signature
