Package: psi-plus
Version: 0.15~svn1682-1
Severity: normal

I tried to import a roster exported previously by psi to an account at 
jabber.org using the contact manager of psi-plus. The server refused to do so. 
I checked the output and noticed following (or similar - did tests with both 
psi-plus and tkabber):

<iq type="set" id="aac8a" >
<query xmlns="jabber:iq:roster">
<item jid="phsul...@jabber.org" />
<item name="testoo2" jid="test...@jabber.org" />
</query>
</iq>

<iq from="tes...@jabber.org" type="error" to="tes...@jabber.org/psi-plus" 
id="aac8a" >
<error type="modify" code="400" >
<bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>

So the client sends multiple items with a single roster set command. RFC 3921 
states following in "2.1.4. Roster Set"

   The following rules apply to roster sets:

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

So please correct the importing code to send multiple roster sets instead of a 
single one which _MUST_ fail.


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.32-trunk-amd64

Debian Release: squeeze/sid
  500 unstable        ftp.debian.org 

--- Package information. ---
Depends                  (Version) | Installed
==================================-+-=============
libaspell15              (>= 0.60) | 0.60.6-3
libc6                     (>= 2.3) | 2.10.2-5
libgcc1               (>= 1:4.1.1) | 1:4.4.3-1
libqca2                            | 2.0.2-1
libqt4-dbus           (>= 4:4.5.3) | 4:4.5.3-4
libqt4-network        (>= 4:4.5.3) | 4:4.5.3-4
libqt4-qt3support     (>= 4:4.5.3) | 4:4.5.3-4
libqt4-xml            (>= 4:4.5.3) | 4:4.5.3-4
libqtcore4            (>= 4:4.5.3) | 4:4.5.3-4
libqtgui4             (>= 4:4.5.3) | 4:4.5.3-4
libstdc++6              (>= 4.1.1) | 4.4.3-1
libx11-6                    (>= 0) | 2:1.3.3-1
libxext6                           | 2:1.1.1-2
libxss1                            | 1:1.2.0-2
zlib1g                (>= 1:1.1.4) | 1:1.2.3.4.dfsg-3


Recommends               (Version) | Installed
==================================-+-===========
sox                                | 14.3.0-1.1
libqca2-plugin-ossl                | 0.1~20070904-4
psi-plus-plugins                   | 0.15~svn1682-1


Suggests                  (Version) | Installed
===================================-+-===========
libqca2-plugin-gnupg                | 
xdg-utils                           | 1.0.2-6.1







-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to