powered by Jive Software

PacketExtension problem

I generate, as in DefaultPacketExtension, my XML message (with a correct syntax) in the method public String toXML().

with a “standard” it’'s ok, but if I add attributes in the nodes I have a problem :

when I receive the message, the attributes disappeared.

This message is ok :

How to solve this problem?

Thanks

Have you created and registered a PacketExtensionProvider for your new PacketExtension? You must register such a provider to tell Smack how to parse your new PacketExtension.

-Pony

Thank you, I made an mistake in the implementation.

My PacketExtensionProvider wasn’'t correct