On Mon May 17 12:10:21 2010, kael wrote:
Hello,

According to <http://xmpp.org/extensions/xep-0060.html#subscriber-unsubscribe-error-nosub>, when a user unsubscribes from a non-subscribed node, the server should return :

<error type='cancel'>
 <unexpected-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
 <not-subscribed xmlns='http://jabber.org/protocol/pubsub#errors'/>
</error>

However according to XEP-0086 an <unexpected-request/> error should be of type 'wait'.


There's no 1-1 mapping between error conditions and error types - ยง8.3.3.23 of 3920bis states that unexpected-request SHOULD be wait or modify, though. I'm not wholly sure that cancel really needs to be a SHOULD NOT, in effect.


So I'm wondering if this discrepancy is a bug in XEP-0060.

Also, not sure about the real status of XEP-0086. It is supposed to be deprecated but appears to still be de facto normative.


XEP-0086 explains to server implementors how to represent certain errors in the older form. It doesn't apply to XEP-0060, since if clients which predate XMPP are trying to use PubSub services, we're frankly all doomed.

Dave.
--
Dave Cridland - mailto:d...@cridland.net - xmpp:d...@dave.cridland.net
 - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
 - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

Reply via email to