Package: tkabber
Version: 0.11.1-1
Severity: normal

I tried to import a roster exported previously by tkabber to a account at 
jabber.org. 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.uni-kl.de 

--- Package information. ---
Depends      (Version) | Installed
======================-+-===========
tk                     | 8.4.16-2
 OR wish               | 
bwidget                | 1.9.0-2
tcllib                 | 1.12-dfsg-2


Recommends      (Version) | Installed
=========================-+-===========
tcl-tls                   | 1.5.0.dfsg-9
libtk-img                 | 1:1.3-release-8
libudp-tcl                | 1.0.8-5


Suggests              (Version) | Installed
===============================-+-============
tkabber-plugins     (>= 0.11.1) | 
libsnack2                       | 







-- 
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