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
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to