[Standards-JIG] JEP-0060: subscription listing

Peter Saint-Andre stpeter at jabber.org
Mon Jul 31 15:38:32 UTC 2006


Philippe Huybrechts wrote:
> Hi,
> 
> According to Section 5.6 of the Pubsub spec, when a JID requests all his
> subscriptions on a pubsub service, the pubsub service has to return an
> error when there are no subscriptions.
> 
> Is there any reason why the service can't return an empty list of
> subscriptions? After all, that is a valid response to the query.
> 
> Now our project has to add a special case to its error processing just
> to handle the empty subscription list.
> 
> Same reasoning with the affiliation handling.

Hmm, you're right, that would be more consistent with JEP-0030 and other 
such protocols. We'll look into changing that in version 1.9.

Peter

-- 
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.shtml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20060731/b68c1055/attachment.bin>


More information about the Standards mailing list