[Standards] XEP-0073: Question about service discovery

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


-----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.

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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFyj+mvcwcncUz5OERAn/JAJ4oQLReq/kiRZoFkFKf9n9V6dTrCACeLVbn
VaAE4yIYQ4G/YajARSzYmTc=
=D/+u
-----END PGP SIGNATURE-----



More information about the Standards mailing list