[Standards] XEP-0073: Question about service discovery

Peter Saint-Andre stpeter at jabber.org
Wed Feb 7 21:09:39 UTC 2007


Rachel Blackman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
>>> In fact I don't see any example or definition what the second request
>>> should return as result. I can only _guess_ that it should be the same
>>> result as the first query (the one without an node attribute).
>>
>> I  would say you guess wrong (as i explained earlier):
>> - Plain disco#info (without a node) is asking: "Hey, what can you do?"
>> - Disco#info with a node of http://myclient.com/caps#0.11 is asking
>> "Hey, what can a standard 0.11 version of MyClient" do. This is a
>> subset of the previous question, which includes all the capabilities
>> of the extensions as well.
> 
> This is my interpretation, too.
> 
> The disco#info without a node is supposed to return /all/ capabilities.  
> The client caps node should return the /base/ client capabilities, minus 
> any extensions.  Otherwise you're caching incorrect data.
> 
> So, no, the caps and the disco#info queries should absolutely not return 
> the same things, unless the caps shows no extensions.  Nodeless should 
> be the union of all the caps queries, however.

Right, we'll clarify that. Sorry I didn't read the earlier message 
carefully enough...

/psa
-------------- 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/20070207/cf88fc8b/attachment.bin>


More information about the Standards mailing list