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

 
 

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

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

Submitted by:  Andrew Pogrebennyk <marduk>
Submitted on:  Fri 18 Dec 2009 12:32:29 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 18 Dec 2009 12:32:30 PM UTCmardukCarbon-Copy-=>Added marduk

    Back to the top


    Powered by Savane 3.1-cleanup