[Standards] XMPP Ping with(out) 'to' argument ?

Tomasz Sterna tomek at xiaoka.com
Mon May 7 19:54:09 UTC 2007


Dnia 07-05-2007, Pn o godzinie 13:31 -0600, Peter Saint-Andre
napisał(a):
> >> But the server replies on behalf of IQs sent to the bare JID, so >>
> >> it's effectively the same as sending to='yourserver.tld' 
[...]
> and:
> 
> <iq to='you at yourserver.tld' type='get' id='roster2'>
>    <query xmlns='jabber:iq:roster'/>
> </iq>
> 
> Is there a difference? 

Yes there is.
to='yourserver.tld' is not to='you at yourserver.tld' :-)

Was that a typo?
If yes, I do agree with you.

But I still do not agree with Maciek's:
> No "to" attribute means "send this to server".

-- 
Tomasz Sterna
Xiaoka Grp.  http://www.xiaoka.com/




More information about the Standards mailing list