2 ms·
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
by thom_nic 10y ago
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.
- mikaraento 10y agoI 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 :)
- deleted 10y ago[deleted]