patchLinPhone - SIP Video phone - Patches: patch #7027, Fix for the malformed...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7027: Fix for the malformed </e:activity> closing xml tag

Submitter:  Andrew Pogrebennyk <marduk>
Submitted:  Fri 18 Dec 2009 12:32:29 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Fri 18 Dec 2009 12:32:29 PM UTC, original submission:  

According to RFC, body (rpid or pidf) is a valid XML document but not in this case:
<es:activities>
   <es:activity>permanent-absence</e:activity>
       ^^^                           ^^^

Here is the patch to fix this issue:

diff --git a/linphone/coreapi/friend.c b/linphone/coreapi/friend.c
index 6cc6145..65c6bba 100644
--- a/linphone/coreapi/friend.c
+++ b/linphone/coreapi/friend.c
@@ -505,7 +505,7 @@ entity=\"%s\">\n%s",
 <status>\n\
 <basic>closed</basic>\n\
 <es:activities>\n\
-  <es:activity>permanent-absence</e:activity>\n\
+  <es:activity>permanent-absence</es:activity>\n\
 </es:activities>\n\
 </status>\n\
 </tuple>\n\
diff --git a/linphone/coreapi/proxy.c b/linphone/coreapi/proxy.c
index 75e918f..2b81b2f 100644
--- a/linphone/coreapi/proxy.c
+++ b/linphone/coreapi/proxy.c
@@ -494,7 +494,7 @@ entity=\"%s\">\n%s",
 <status>\n\
 <basic>closed</basic>\n\
 <es:activities>\n\
-  <es:activity>permanent-absence</e:activity>\n\
+  <es:activity>permanent-absence</es:activity>\n\
 </es:activities>\n\
 </status>\n\
 </tuple>\n\

Andrew Pogrebennyk <marduk>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by marduk (Submitted the item)
  • -email is unavailable- added by marduk
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-18 marduk Carbon-Copy- Added marduk

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code