1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@705 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2007-03-28 22:48:48 +00:00
parent eedd5d55c9
commit 5661550807

View File

@ -10,7 +10,7 @@
<abstract>This document defines an XMPP protocol extension for communicating the local time of an entity.</abstract>
&LEGALNOTICE;
<number>0202</number>
<status>Proposed</status>
<status>Draft</status>
<type>Standards Track</type>
<sig>Standards</sig>
<approver>Council</approver>
@ -22,7 +22,10 @@
<spec>XEP-0090</spec>
</supersedes>
<supersededby/>
<shortname>NOT YET ASSIGNED</shortname>
<shortname>time</shortname>
<schemaloc>
<url>http://www.xmpp.org/schemas/time.xsd</url>
</schemaloc>
&stpeter;
<author>
<firstname>Maciej</firstname>
@ -30,6 +33,12 @@
<email>machekku@uaznia.net</email>
<jid>machekku@uaznia.net</jid>
</author>
<revision>
<version>1.0</version>
<date>2007-03-28</date>
<initials>psa</initials>
<remark><p>Per a vote of the XMPP Council, advanced to Draft.</p></remark>
</revision>
<revision>
<version>0.2</version>
<date>2007-03-19</date>
@ -66,7 +75,7 @@
<p>To overcome these limitations, this document defines a replacement for <cite>XEP-0090</cite> which enables communication of an entity's UTC time and numeric time zone offset while adhering to <cite>XEP-0082</cite>.</p>
</section1>
<section1 topic='Protocol Definition' anchor='protocol'>
<p>The namespace defined herein provides a standard way for XMPP entities to exchange information about the local time. The information is communicated in a request/response pair using an &IQ; element that contains a &lt;time/&gt; element qualified by an XML namespace to be issued when this specification advances to a status of Draft (see <link url='#ns'>Protocol Namespace</link>). The following children of the &lt;time/&gt; element are defined for use in IQ stanzas of type 'result':</p>
<p>The protocol defined herein provides a standard way for XMPP entities to exchange information about the local time. The information is communicated in a request/response pair using an &IQ; element that contains a &lt;time/&gt; element qualified by the 'urn:xmpp:time' namespace. The following children of the &lt;time/&gt; element are defined for use in IQ stanzas of type 'result':</p>
<table caption='Child Elements'>
<tr>
<th>Element</th>
@ -91,7 +100,7 @@
from='romeo@montague.net/orchard'
to='juliet@capulet.com/balcony'
id='time_1'>
<time xmlns='http://www.xmpp.org/extensions/xep-0202.html#ns'/>
<time xmlns='urn:xmpp:time'/>
</iq>
]]></example>
<example caption='A Response to the Query'><![CDATA[
@ -99,7 +108,7 @@
from='juliet@capulet.com/balcony'
to='romeo@montague.net/orchard'
id='time_1'>
<time xmlns='http://www.xmpp.org/extensions/xep-0202.html#ns'>
<time xmlns='urn:xmpp:time'>
<tzo>-06:00</tzo>
<utc>2006-12-19T17:58:35Z</utc>
</time>
@ -124,7 +133,7 @@
id='disco1'>
<query xmlns='http://jabber.org/protocol/disco#info'>
...
<feature var='http://www.xmpp.org/extensions/xep-0202.html#ns'/>
<feature var='urn:xmpp:time'/>
...
</query>
</iq>
@ -142,7 +151,7 @@
</section1>
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
<section2 topic='Protocol Namespace' anchor='ns'>
<p>Until this specification advances to a status of Draft, its associated namespace shall be "http://www.xmpp.org/extensions/xep-0202.html#ns"; upon advancement of this specification, the XMPP Registrar shall issue a permanent namespace in accordance with the process defined in Section 4 of &xep0053;.</p>
<p>The &REGISTRAR; includes 'urn:xmpp:time' in its registry of protocol namespaces (see &NAMESPACES;).</p>
</section2>
</section1>
<section1 topic='XML Schema' anchor='schema'>
@ -151,10 +160,17 @@
<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='http://www.xmpp.org/extensions/xep-0202.html#ns'
xmlns='http://www.xmpp.org/extensions/xep-0202.html#ns'
targetNamespace='urn:xmpp:time'
xmlns='urn:xmpp:time'
elementFormDefault='qualified'>
<xs:annotation>
<xs:documentation>
The protocol documented by this schema is defined in
XEP-0202: http://www.xmpp.org/extensions/xep-0202.html
</xs:documentation>
</xs:annotation>
<xs:element name='time'>
<xs:complexType>
<xs:sequence minOccurs='0'>