[Standards-JIG] Client Capabilities (rant)

Ian Paterson ian.paterson at clientside.co.uk
Mon Nov 21 22:27:43 UTC 2005


Chris wrote:
> Ian wrote:
> > You do not need to include any node in your _single_
> > Disco Info request (normal JEP-0030).
>
> ...If you disco the root caps node (Exodus#0.9.9.1)...

Chris, I never suggested you disco the root caps node.

Try _never_ doing either of these:

<iq type='get' to='randomuser1 at capulet.com/resource'>
  <query xmlns='http://jabber.org/protocol/disco#info'
         node='http://exodus.jabberstudio.org/caps#0.9'/>
</iq>

<iq type='get' to='randomuser1 at capulet.com/resource'>
  <query xmlns='http://jabber.org/protocol/disco#info'
         node='http://exodus.jabberstudio.org/caps#xhtml'/>
</iq>


Instead, try _always_ doing this:

<iq type='get' to='randomuser1 at capulet.com/resource'>
  <query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>

...and take note of the corresponding node+ver+ext CAPS combination, so
you can reuse the result.


See my previous two posts for a more complete explanation etc:
http://mail.jabber.org/pipermail/standards-jig/2005-November/009167.html
http://mail.jabber.org/pipermail/standards-jig/2005-November/009194.html

I hope this helps :-)

- Ian




More information about the Standards mailing list