I'm reviewing a bunch of old messages about rfc3921bis, so expect a few
posts to the list. Here is the first one...

Currently, some clients include multiple items in a roster set to
complete certain use cases, for example to rename a group:

<iq type=set' id='rs1'>
    <query xmlns='jabber:iq:roster'>
        <item jid='[EMAIL PROTECTED]'>
            <group>NewGroupName</group>
        </item>
        <item jid='[EMAIL PROTECTED]'>
            <group>NewGroupName</group>
        </item>
    </query>
</iq>

However, Rule 1 in Section 2.1.3 of rfc3921bis states:

"The <query/> element MUST contain one and only one <item/> element."

Would it break anything to allow multiple items in a roster set?

Peter

-- 
Peter Saint-Andre
https://stpeter.im/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to