[Standards] References and XHTML-IM interoperability
kevin.smith at isode.com
Fri Dec 2 15:48:07 UTC 2016
On 2 Dec 2016, at 15:44, Tobias M <tmarkmann at googlemail.com> wrote:
>> On 2 Dec 2016, at 16:39, Kevin Smith <kevin.smith at isode.com <mailto:kevin.smith at isode.com>> wrote:
>> They’re long and (as far as I can see at the moment) unnecessary when a simple per-stanza counter would suffice - only uniqueness within a stanza is needed, not globally, isn’t it?
> As far as I know, technically an XML ID value needs to be unique in the whole document, and for the XMPP case the document is the XMPP stream/session. Using UUIDs would avoid having to go over and reassign IDs when attaching one message to another, etc.
Oh, you meant a literal ‘id’. That’s easily avoidable just by using a different attribute :)
But maybe that’s reason enough to use UUIDs.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Standards