Ticket #4288 (new defect)
XEP-0050 or XEP-0030 too restrictive?
| Reported by: | vArDo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | None | Version: | svn |
| Severity: | normal | Keywords: | xep-0030 xep-0050 adhoc commands disco |
| Cc: | OS: | All |
Description
Here's query generated by Gajim to discover ad-hoc commands of given bot with response from it: http://gajim.pastebin.com/f2f311d43
Such answer in Gajim is ignored because it does not have node="http://jabber.org/protocol/commands" attribute in query node (as shown in example here: http://www.xmpp.org/extensions/xep-0050.html#retrieve ). Psi on the other hand accepts it.
In XEP-0030 it is said that: "If the request included a 'node' attribute, the response SHOULD mirror the specified 'node' attribute to ensure coherence between the request and the response." ( http://www.xmpp.org/extensions/xep-0030.html#info-nodes ).
So, there is no MUST for inclusion of node attribute in response - guys on Psi dev channel say, in such case, client should handle reponses without it as valid (as Psi does).
The question is: should Gajim accept such responses or ignore these (as it does now)?
All this discussion is because of SleekXMPP which does not include node attribute in XEP-0030 responses.
