mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
1.0
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@705 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
eedd5d55c9
commit
5661550807
34
xep-0202.xml
34
xep-0202.xml
@ -10,7 +10,7 @@
|
|||||||
<abstract>This document defines an XMPP protocol extension for communicating the local time of an entity.</abstract>
|
<abstract>This document defines an XMPP protocol extension for communicating the local time of an entity.</abstract>
|
||||||
&LEGALNOTICE;
|
&LEGALNOTICE;
|
||||||
<number>0202</number>
|
<number>0202</number>
|
||||||
<status>Proposed</status>
|
<status>Draft</status>
|
||||||
<type>Standards Track</type>
|
<type>Standards Track</type>
|
||||||
<sig>Standards</sig>
|
<sig>Standards</sig>
|
||||||
<approver>Council</approver>
|
<approver>Council</approver>
|
||||||
@ -22,7 +22,10 @@
|
|||||||
<spec>XEP-0090</spec>
|
<spec>XEP-0090</spec>
|
||||||
</supersedes>
|
</supersedes>
|
||||||
<supersededby/>
|
<supersededby/>
|
||||||
<shortname>NOT YET ASSIGNED</shortname>
|
<shortname>time</shortname>
|
||||||
|
<schemaloc>
|
||||||
|
<url>http://www.xmpp.org/schemas/time.xsd</url>
|
||||||
|
</schemaloc>
|
||||||
&stpeter;
|
&stpeter;
|
||||||
<author>
|
<author>
|
||||||
<firstname>Maciej</firstname>
|
<firstname>Maciej</firstname>
|
||||||
@ -30,6 +33,12 @@
|
|||||||
<email>machekku@uaznia.net</email>
|
<email>machekku@uaznia.net</email>
|
||||||
<jid>machekku@uaznia.net</jid>
|
<jid>machekku@uaznia.net</jid>
|
||||||
</author>
|
</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>
|
<revision>
|
||||||
<version>0.2</version>
|
<version>0.2</version>
|
||||||
<date>2007-03-19</date>
|
<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>
|
<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>
|
||||||
<section1 topic='Protocol Definition' anchor='protocol'>
|
<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 <time/> 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 <time/> 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 <time/> element qualified by the 'urn:xmpp:time' namespace. The following children of the <time/> element are defined for use in IQ stanzas of type 'result':</p>
|
||||||
<table caption='Child Elements'>
|
<table caption='Child Elements'>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Element</th>
|
<th>Element</th>
|
||||||
@ -91,7 +100,7 @@
|
|||||||
from='romeo@montague.net/orchard'
|
from='romeo@montague.net/orchard'
|
||||||
to='juliet@capulet.com/balcony'
|
to='juliet@capulet.com/balcony'
|
||||||
id='time_1'>
|
id='time_1'>
|
||||||
<time xmlns='http://www.xmpp.org/extensions/xep-0202.html#ns'/>
|
<time xmlns='urn:xmpp:time'/>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
<example caption='A Response to the Query'><![CDATA[
|
<example caption='A Response to the Query'><![CDATA[
|
||||||
@ -99,7 +108,7 @@
|
|||||||
from='juliet@capulet.com/balcony'
|
from='juliet@capulet.com/balcony'
|
||||||
to='romeo@montague.net/orchard'
|
to='romeo@montague.net/orchard'
|
||||||
id='time_1'>
|
id='time_1'>
|
||||||
<time xmlns='http://www.xmpp.org/extensions/xep-0202.html#ns'>
|
<time xmlns='urn:xmpp:time'>
|
||||||
<tzo>-06:00</tzo>
|
<tzo>-06:00</tzo>
|
||||||
<utc>2006-12-19T17:58:35Z</utc>
|
<utc>2006-12-19T17:58:35Z</utc>
|
||||||
</time>
|
</time>
|
||||||
@ -124,7 +133,7 @@
|
|||||||
id='disco1'>
|
id='disco1'>
|
||||||
<query xmlns='http://jabber.org/protocol/disco#info'>
|
<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>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
@ -142,7 +151,7 @@
|
|||||||
</section1>
|
</section1>
|
||||||
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
|
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
|
||||||
<section2 topic='Protocol Namespace' anchor='ns'>
|
<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 ®ISTRAR; includes 'urn:xmpp:time' in its registry of protocol namespaces (see &NAMESPACES;).</p>
|
||||||
</section2>
|
</section2>
|
||||||
</section1>
|
</section1>
|
||||||
<section1 topic='XML Schema' anchor='schema'>
|
<section1 topic='XML Schema' anchor='schema'>
|
||||||
@ -151,10 +160,17 @@
|
|||||||
|
|
||||||
<xs:schema
|
<xs:schema
|
||||||
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
||||||
targetNamespace='http://www.xmpp.org/extensions/xep-0202.html#ns'
|
targetNamespace='urn:xmpp:time'
|
||||||
xmlns='http://www.xmpp.org/extensions/xep-0202.html#ns'
|
xmlns='urn:xmpp:time'
|
||||||
elementFormDefault='qualified'>
|
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:element name='time'>
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence minOccurs='0'>
|
<xs:sequence minOccurs='0'>
|
||||||
|
Loading…
Reference in New Issue
Block a user