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

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2584#issuecomment-744077833">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPHYUCUOGDRHN5JZXDSUU4VPANCNFSM4UZSUNEA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZM72F25JNUODP2P4ITSUU4VPA5CNFSM4UZSUNEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFRM3UCI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2584#issuecomment-744077833",
"url": "https://github.com/kamailio/kamailio/pull/2584#issuecomment-744077833",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>