[Standards] Private Data storage discrepancy

JC Brand lists at opkode.com
Sat Mar 17 12:20:17 UTC 2018


On Fri, Mar 16, 2018 at 12:32:57PM +0100, Timothée Jaussoin wrote:
> Hi Guus,
> 
> Thanks for the work on Bookmarks :) Indeed that was, I think, a mistake.
> On my side I followed the structure of the 0048 (https://github.com/movim/moxl/blob/master/src/Moxl/Stanza/Bookmark.php#L30) which, I
> think is more logical (the storage:bookmarks namespace is defined with this <storage> wrapper).

Like Timothée, in converse.js I also follow the structure of 0048.

As Christian Schudt wrote, it seems that with 0048 the idea is to include all
the bookmarks in one Pubsub item while with 0223 the assumption is that
there'll be one bookmark per item.

I interpret 0048's approach to mean that all bookmarks must be included when
any changes are communicated. That's what converse.js does.

JC

> Le vendredi 16 mars 2018 à 12:03 +0100, Guus der Kinderen a écrit :
> > Hello,
> > 
> > I'm working on migrating Bookmarks (https://xmpp.org/extensions/xep-0048.html) from Private XML Storage (https://xmpp.org/extensions/
> > xep-0049.html) to PEP (https://xmpp.org/extensions/xep-0223.html). I'm was surprised to find a difference between the Pubsub node
> > defined in 0048 example 3 (the published item root element is 'storage', that itself contains 'conference') and 0233's example 3 (the
> > published item root element is 'conference' directly, without the wrapping 'storage'). I expected those two examples to have the same
> > structure. What's going on there?
> > 
> > Regards,
> > 
> >   Guus
> > _______________________________________________
> > Standards mailing list
> > Info: https://mail.jabber.org/mailman/listinfo/standards
> > Unsubscribe: Standards-unsubscribe at xmpp.org
> > _______________________________________________
> _______________________________________________
> Standards mailing list
> Info: https://mail.jabber.org/mailman/listinfo/standards
> Unsubscribe: Standards-unsubscribe at xmpp.org
> _______________________________________________


More information about the Standards mailing list