Joe Hildebrand wrote:
On Jan 3, 2008, at 10:02 PM, XMPP Extensions Editor wrote:Title: Service Discovery NotificationsAbstract: This document specifies a way to request and receive notifications regarding service discovery items.URL: http://www.xmpp.org/extensions/inbox/disco-notifications.htmlIf we stay with the explicit approach, I think I would prefer: <iq type='get' from='[EMAIL PROTECTED]/globe' to='chat.shakespeare.lit' id='items1'> <query xmlns='http://jabber.org/protocol/disco#items'> <subscribe xmlns='http://jabber.org/protocol/pubsub'/> </query> </iq>Where the JID was implicit from the from address, and the node was implicit from the disco query node. As such, the JID in the subscription tag and (potentially) the notification seem superfluous.
Agreed. You want to send to full JID, not bare JID.
I think the subscription tag MUST include a subid, and we should specify the unsubscribe case, as well, with the example using the subid.
Right.
The node in the notification should be the node of the disco request, not disco#items.
I assume that most of the time the node will be empty (e.g., you're temporarily subscribing to "conference.jabber.org" and not any special node there), though naturally you could subscribe to a specific node if appropriate.
Peter -- Peter Saint-Andre https://stpeter.im/
smime.p7s
Description: S/MIME Cryptographic Signature
