News for hackers. Stuff that matters.
Re:XMPP: Swiss Army Knife for the Internet of Things by thom_nic on Friday August 05, 2016 @10:35AM (#12232612)
If you're lucky you can in often get by looking for xmlns attribute on the IQ or message child element and operate on the assumption that you know exactly what namespaces you expect to see a priori.

But yes, it's an uphill battle if you don't have a namespace aware XML parser.

Re:XMPP: Swiss Army Knife for the Internet of Things by mikaraento on Friday August 05, 2016 @01:14PM (#12234067)
I think the uphill's not too steep - keeping track of the aliases on your own is quite reasonable.

The thing that does _not_ work is not using namespaces to decide on the meaning of tags/attributes when processing XMPP :)