Hi Steven,<br><br>You are right :) . I saw this some time ago and I though I fixed this in upstream also, seems I haven't. I have committed a fix now on svn. You can update the presence_xml module from svn or just take the patch - <a href="http://opensips.svn.sourceforge.net/viewvc/opensips?view=revision&revision=8184">http://opensips.svn.sourceforge.net/viewvc/opensips?view=revision&revision=8184</a>.<br>
<br>Regards,<br>Anca Vamanu<br><br><br><div class="gmail_quote">On Fri, Jul 15, 2011 at 11:32 AM, Steven Lam, KeenSystems B.V. <span dir="ltr"><<a href="mailto:s.lam@keensystems.eu">s.lam@keensystems.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi list,<br>
<br>
I'm new to OpenSIPS, so don't shoot me when i'm wrong ;-)<br>
<br>
I think i found a problem in presence_xml on both 1.6.4-2-notls and 1.7.0-beta-notls.<br>
<br>
When a PUBLISH message with "Expires: 0" created by pua_userloc is received, presence_xml generates the following error:<br>
<br>
Jul 15 10:07:46 [4971] DBG:presence_xml:event_agg_nbody: [user]=102 [domain]= 192.168.254.161<br>
Entity: line 2: parser error : Attribute xmlns redefined<br>
idf:cipid" entity="<a href="mailto:pres%3A102@192.168.254.161">pres:102@192.168.254.161</a>" xmlns="urn:ietf:params:xml:ns:pidf"<br>
^<br>
Jul 15 10:07:46 [4971] DBG:presence_xml:agregate_xmls: i = [0] - body: <?xml version="1.0"?><br>
<presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:c="urn:ietf:params:xml:ns:pidf:cipid" entity="<a href="mailto:pres%3A102@192.168.254.161">pres:102@192.168.254.161</a>" xmlns="urn:ietf:params:xml:ns:pidf"><tuple xmlns="urn:ietf:params:xml:ns:pidf" id="0x7fff92c0d560"><status xmlns="urn:ietf:params:xml:ns:pidf"><basic>closed</basic></status></tuple></presence><br>
<br>
Jul 15 10:07:46 [4971] ERROR:presence_xml:agregate_xmls: while parsing xml body message<br>
Jul 15 10:07:46 [4971] ERROR:presence_xml:event_agg_nbody: while aggregating body<br>
Jul 15 10:07:46 [4971] ERROR:presence:get_p_notify_body: Failed to aggregate notify body<br>
<br>
I also included a attachment with the complete CLI debug output.<br>
<br>
Hope someone can give me some advice on this.<br>
<font color="#888888"><br>
Steven.</font><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>