I am using the DefaultPacketExtension class to get Jabber events from messages. The XML messages arrive at my client in proper form:
chat_1
chat_1
However, after parsing, the “map” member variable of the DefaultPacketExtension instance is NULL, and does not contain any of the inner properties of the extension. Therefore, I cannot determine if the packet extension indicates a “composing” event, nor can I get the ID from the packet extension. The parsed packet extension DOES contain the element name and the namespace, but that’'s it.
Creating a packet extension with these properties and sending it embedded in a message packet works fine.