[Standards] XEP-0073: Question about service discovery

Rachel Blackman rcb at ceruleanstudios.com
Wed Feb 7 21:07:50 UTC 2007

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.

- --
Rachel Blackman <rcb at ceruleanstudios.com>
Trillian Messenger - http://www.trillianastra.com/

Version: GnuPG v1.4.5 (Darwin)


More information about the Standards mailing list