[sr-dev] [kamailio/kamailio] lost: removed not used namespace (#2584)

Wolfgang Kampichler notifications at github.com
Sun Dec 13 23:19:03 CET 2020


The module includes a fallback in case `xpath` fails  due to a malformed `pidf-lo` (observed at ETSI Plugtests events). In such a case it just looks for attributes like `lat/lon` (point) or `lat/lon/radius` (circle) and creates a new location object, which I guess requires a `gml` namespace, therefore I would suggest the following change:
 
`
if(loc->xpath == NULL) {xmlNewProp(ptrFindService, BAD_CAST "xmlns:p2", BAD_CAST "http://www.opengis.net/gml");}
`


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2584#issuecomment-744077833
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201213/a136728a/attachment.htm>


More information about the sr-dev mailing list