Hi Rajeev,

The retention-expiry field in 4119 is an xml dateTime:
<xs:element name="retention-expiry" type="xs:dateTime"

The XMl dateTime is a standard XMl type defined in "W3C XML Schema Part 2: 
Datatypes Second Edition
W3C Recommendation 28 October 2004".

The link for this document can be found here: http://www.w3.org/TR/xmlschema-2/

The link to the dateTime definition can be found here 
http://www.w3.org/TR/xmlschema-2/#dateTime

When you sending and parsing, do you really mean creating?

Cheers
James

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Rajeev Narang (ranarang)
Sent: Sun 7/27/2008 10:22 AM
To: [email protected]
Subject: [Sip] Question on format of retention-expiry (absolute time) inRFC4119 
(Presence-based GEOPRIV Location)
 
Hi,
 
RFC3261 specifies Date header in the following format:- 
Date: Fri, 18 Jul 2008 12:01:08 GMT
 
RFC4119 specifes retention-expiry in the following format:-
   <gp:retention-expiry>2007-07-27T18:00:00Z</gp:retention-expiry>
 
This seems like another format for representing absolute time. 
 
Could somebody provide me info, on which RFC is this absolute time based
on.
 
Any idea how this can be implemented in Linux for sending and parsing.
 
Thanks.
Regards,
Rajeev
 

------------------------------------------------------------------------------------------------
This message is for the designated recipient only and may
contain privileged, proprietary, or otherwise private information.  
If you have received it in error, please notify the sender
immediately and delete the original.  Any unauthorized use of
this email is prohibited.
------------------------------------------------------------------------------------------------
[mf2]

_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use [EMAIL PROTECTED] for questions on current sip
Use [EMAIL PROTECTED] for new developments on the application of sip

Reply via email to