powered by Jive Software

Howto get data from PacketExtensions?

this is what I get from a buddy and I want to

<presence from=“test@imexpress/Home” to=“test2@imexpress/Gajim”>


<status>late n8 worker</status>

<c xmlns=“http://jabber.org/protocol/caps” node=“http://pidgin.im/caps” ver=“2.3.1” ext=“mood moodn nick nickn tune tunen avatarmeta avatardata avatar”/>


when I try to catch it with a Packetlistener and this code:



for (PacketExtension pe : packet.getExtensions())


logger.debug( pe.toXML() );


then there is only this as output:

<presence id=“79” to=“test@imexpress/Smack” from=“test2@imexpress/Gajim”>


<x xmlns=“vcard-temp:x:update”>



<c xmlns=“http://jabber.org/protocol/caps”></c>


Can anybody give me some tipps? Coz in the EnhancedDebugger is it fully shown, but not with my packetlistener.