Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

PubSub implementation broken in 4.0.3

$
0
0

Hi,

 

I wanted to upgrade to the latest version of the smack library (4.0.3, currently using 3.2.1) but noticed that a bug was introduced in the new version that broke my regression tests. I use the pubsub mechanisms for machine-to-machine communication and exchange XML data using the PubSub mechanism. The XML naturally contains a lot of namespace declarations that are vital for parsing the content at the receiver (subscriber).

 

Previously, this worked fine, but the new version does something strange with the namespaces in the published item. Instead of passing the content of the item as it was published, the library seems to remove all but one namespace from my XML data. So the my ItemEventListener implementation gets items with invalid XML code which cannot further be processed.

 

Are there any workarounds to get the items as they were published out of the smack library?

 

Best Regards,

Ingo


Viewing all articles
Browse latest Browse all 10742

Trending Articles