Project

General

Profile

Bria » History » Revision 2

Revision 1 (Adrian Georgescu, 08/02/2013 12:06 PM) → Revision 2/4 (Adrian Georgescu, 08/02/2013 12:07 PM)

h1. Bria 

 Presence payload generated by Bria is broken: 

 <pre> 
 <?xml version="1.0" encoding="UTF-8"?> 
 <presence entity="sip:ag@ag-projects.com" 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"> 
 <tuple id="cp7bS.sab4xOndDECqP0dnEL8IwFJrd45W"> 
  <status> 
   <basic>open</basic> 
  </status> 
  <timestamp>2013-08-02T09:47:32.015Z</timestamp> 
  <note>In the train</note> 
 </tuple> 
 <dm:person id="cppeLAlyXxA8qP-ZnL7Bf6TUtEcUcu407t"> 
  <dm:timestamp>2013-08-02T09:47:32.015Z</dm:timestamp> 
  <dm:note>In the train</dm:note> 
 </dm:person> 
 </presence> 

 </pre> 

 The timestamp must be the note, not before and this breaks schema validation.