[JDEV] Re: jabber; what would you like to see?

Jacek Konieczny jajcus at bnet.pl
Thu Sep 25 07:12:14 CDT 2003


On Thu, Sep 25, 2003 at 01:33:27PM +0200, Bernino Lind wrote:
> What is missing? a method for passing data along with a iq-get packet:
> 
> <iq type="get">
> <query xmlns="coffee:stats">
> <top>20</top>
> </query>
> </iq>
> 
> Such a packet is not allowed. 

Where is the "to" attribute?
Why valid URL is not used for namespace identifier ("coffee" is not
a registered URL scheme).

> The <top> section is simply chopped off...!

Stanza without "to" attribute is addressed to Jabber/XMPP server. 
There is no "coffee:stats" defined for Jabber/XMPP server. It would be
strange if anything would be done with such packet.

But if there is valid "to" attribute, then everything else is leggal and
would be processed without chopping anything.

> Why? 
Because you are using broken software?

And I have one suggestion: don't say what is legal and what is not
without reading protocol specification. Reading just examples or
output of existing (probably broken) implementation is not enough!

Greets,
	Jacek



More information about the JDev mailing list