[jdev] Jabberd 2 2.1.23 not working according to XEP 13

shashi kiran gmsk19 at gmail.com
Mon Mar 17 07:29:12 CDT 2008


Hi Neha,
      There Might Be some minute Varying Responses across Different
Implementations of the XMPP Protocol. Not only in this case but elsewhere
too.

On Mon, Mar 17, 2008 at 5:52 PM, NehaP <nehagp2004 at yahoo.com> wrote:

>
> Hi,
>
> I am referring to the XEP 0013 specification. The spec mentions the
> following
>
> User Requests Information About Offline Message Node
>
> <iq type='get'>
>  <query xmlns='http://jabber.org/protocol/disco#info'
>         node='http://jabber.org/protocol/offline'/<http://jabber.org/protocol/offline%27/>
> >
> </iq>
>
> Server Returns Information About Offline Message Node, Including Number of
> Messages
>
> <iq type='result' to='romeo at montague.net/orchard'<http://romeo@montague.net/orchard%27>
> >
>  <query xmlns='http://jabber.org/protocol/disco#info'
>         node='http://jabber.org/protocol/offline'<http://jabber.org/protocol/offline%27>
> >
>    <identity
>        category='automation'
>        type='message-list'/>
>    <feature var='http://jabber.org/protocol/offline'/<http://jabber.org/protocol/offline%27/>
> >
>    <x xmlns='jabber:x:data' type='result'>
>      <field var='FORM_TYPE' type='hidden'>
>        <value>http://jabber.org/protocol/offline</value>
>      </field>
>      <field var='number_of_messages'>
>        <value>66</value>
>      </field>
>    </x>
>  </query>
> </iq>
>
>
> Now that was what I found in the XEP 13 spec.
>
> When I use Jabberd 2 and Ethereal for sniffing packets sent and received
> from the server, I find the following conversation occuring between my
> client and the server.
>
> Client sends:-
>
> <iq id="Pn38u-4" to="jabber-server" type="get"><query
> xmlns="http://jabber.org/protocol/disco#info"
> node="http://jabber.org/protocol/offline"></query></iq>
>
> Server sends:-
>
> <iq xmlns='jabber:client' id='Pn38u-4' from='jabber-server'
> to='admin at jabber-server/Smack' type='result'><query
> xmlns='http://jabber.org/protocol/disco#info'
> node='http://jabber.org/protocol/offline'<http://jabber.org/protocol/offline%27>><identity
> name='Jabber IM server'
> type='im' category='server'/><feature var='jabber:iq:private'/><feature
> var='presence'/><feature var='jabber:iq:time'/><feature
> var='jabber:iq:agents'/><feature var='urn:xmpp:ping'/><feature
> var='http://jabber.org/protocol/vacation'/<http://jabber.org/protocol/vacation%27/>
> ><feature
> var='urn:xmpp:time'/><feature var='urn:xmpp:blocking'/><feature
> var='vcard-temp'/><feature var='jabber:iq:version'/><feature
> var='message'/><feature var='msgoffline'/><feature
> var='jabber:iq:privacy'/><feature
> var='http://jabber.org/protocol/amp'/ <http://jabber.org/protocol/amp%27/>
> ><feature
> var='jabber:iq:roster'/><feature var='iq'/><feature
> var='jabber:iq:last'/><feature var='http://jabber.org/protocol/disco'/<http://jabber.org/protocol/disco%27/>
> ><x
> xmlns='jabber:x:data' type='result'><field type='hidden'
>
> var='FORM_TYPE'><value>urn:xmpp:dataforms:softwareinfo</value></field><field
> var='software'><value>jabberd</value></field><field
> var='software_version'><value>2.1.23</value></field><field
> var='os'><value>Linux</value></field><field
> var='os_version'><value>i686</value></field></x></query></iq>
>
>
>
> Basically, what should be this according to the spec
>
>      <field var='FORM_TYPE' type='hidden'>
>        <value>http://jabber.org/protocol/offline</value>
>      </field>
>      <field var='number_of_messages'>
>        <value>66</value>
>      </field>
>
> is actually this when I use Jabberd 2
>
>  <field type='hidden' var='FORM_TYPE'>
>     <value>urn:xmpp:dataforms:softwareinfo</value>
>  </field>
>  <field var='software'><value>jabberd</value></field>
>  <field var='software_version'><value>2.1.23</value></field>
>  <field var='os'><value>Linux</value></field><field
> var='os_version'><value>i686</value></field>
>
> Obviously the server is responding to a request I didnt make. Or is it
> something else I'm not getting?
> Please help!
>
> Thanks,
> Neha.
> --
> View this message in context:
> http://www.nabble.com/Jabberd-2-2.1.23-not-working-according-to-XEP-13-tp16092359p16092359.html
> Sent from the Jabber JDEV mailing list archive at Nabble.com.
>
>


-- 
_______________________________________

Shashi Kiran G M
Symbian Developer
Geodesic Information Systems Pvt Ltd.
http://www.mundu.com
________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20080317/34a5758f/attachment-0002.htm>


More information about the JDev mailing list