1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-22 07:38:52 -05:00
This commit is contained in:
stpeter 2011-07-06 11:21:31 -06:00
parent b09d6a1f5a
commit 105d057b18

View File

@ -27,6 +27,12 @@
<surname>Hancke</surname> <surname>Hancke</surname>
<jid>fippo@psyced.org</jid> <jid>fippo@psyced.org</jid>
</author> </author>
<revision>
<version>0.11</version>
<date>2011-07-06</date>
<initials>psa</initials>
<remark><p>Per list discussion, reverted the stream features versioning that was added to version 0.10, thus reverting to the format used in versions 0.5 through 0.9 of the spec; corrected several errors in the examples.</p></remark>
</revision>
<revision> <revision>
<version>0.10</version> <version>0.10</version>
<date>2011-05-16</date> <date>2011-05-16</date>
@ -305,8 +311,8 @@ recv: <db:verify
<example caption="Receiving Server Receives Dialback Error from Authoritative Server (Step 3)"><![CDATA[ <example caption="Receiving Server Receives Dialback Error from Authoritative Server (Step 3)"><![CDATA[
recv: <db:verify recv: <db:verify
from='sender.tld' from='sender.tld'
to='target.tld'
id='D60000229F' id='D60000229F'
to='target.tld'
type='error'> type='error'>
<error type='cancel'> <error type='cancel'>
<item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> <item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
@ -379,8 +385,8 @@ recv: <db:verify
<example caption="Authoritative Server Sends Dialback Error to Receiving Server (Step 3)"><![CDATA[ <example caption="Authoritative Server Sends Dialback Error to Receiving Server (Step 3)"><![CDATA[
send: <db:verify send: <db:verify
from='sender.tld' from='sender.tld'
to='target.tld'
id='D60000229F' id='D60000229F'
to='target.tld'
type='error'> type='error'>
<error type='cancel'> <error type='cancel'>
<item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> <item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
@ -436,10 +442,12 @@ send: <db:verify
</section3> </section3>
<section3 topic="Dialback with Error Handling" anchor='advertisement-errors'> <section3 topic="Dialback with Error Handling" anchor='advertisement-errors'>
<p>If a server supports graceful handling of dialback errors as described under Section 2.5, it MUST advertise that though a stream feature which is a &lt;dialback/&gt; element qualified by the 'urn:xmpp:features:dialback:1' namespace.</p> <p>If a server supports graceful handling of dialback errors as described under Section 2.5, it MUST advertise that though a stream feature which is a &lt;dialback/&gt; element qualified by the 'urn:xmpp:features:dialback' namespace.</p>
<example caption="Stream Features With &lt;errors/&gt; Element"><![CDATA[ <example caption="Stream Features With &lt;errors/&gt; Element"><![CDATA[
<stream:features> <stream:features>
<dialback xmlns='urn:xmpp:features:dialback:1'> <dialback xmlns='urn:xmpp:features:dialback'>
<errors/>
</dialback>
</stream:features> </stream:features>
]]></example> ]]></example>
</section3> </section3>
@ -523,11 +531,11 @@ receiver.target.tld. 86400 IN A 10.44.0.4
<p>The &REGISTRAR; includes 'jabber:server:dialback' in its registry of protocol namespaces (see &NAMESPACES;).</p> <p>The &REGISTRAR; includes 'jabber:server:dialback' in its registry of protocol namespaces (see &NAMESPACES;).</p>
</section2> </section2>
<section2 topic='Stream Features' anchor='registrar-stream'> <section2 topic='Stream Features' anchor='registrar-stream'>
<p>The XMPP Registrar includes 'urn:xmpp:features:dialback:1' in its registry of stream features (see &STREAMFEATURES;).</p> <p>The XMPP Registrar shall include 'urn:xmpp:features:dialback' in its registry of stream features (see &STREAMFEATURES;).</p>
<p>The submission is as follows:</p> <p>The submission is as follows:</p>
<code><![CDATA[ <code><![CDATA[
<feature> <feature>
<ns>urn:xmpp:features:dialback:1</ns> <ns>urn:xmpp:features:dialback</ns>
<name>dialback</name> <name>dialback</name>
<element>dialback</element> <element>dialback</element>
<desc>Support for Server Dialback with dialback errors</desc> <desc>Support for Server Dialback with dialback errors</desc>
@ -603,17 +611,17 @@ receiver.target.tld. 86400 IN A 10.44.0.4
<xs:schema <xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='urn:xmpp:features:dialback:1' targetNamespace='urn:xmpp:features:dialback'
xmlns='urn:xmpp:features:dialback:1' xmlns='urn:xmpp:features:dialback'
elementFormDefault='qualified'> elementFormDefault='qualified'>
<xs:element name='dialback' type='empty'/> <xs:element name='dialback'>
<xs:complexType>
<xs:simpleType name='empty'> <xs:sequence>
<xs:restriction base='xs:string'> <xs:element name='errors' minOccurs='0' type='empty'/>
<xs:enumeration value=''/> </xs:sequence>
</xs:restriction> </xs:complexType>
</xs:simpleType> </xs:element>
</xs:schema> </xs:schema>
]]></code> ]]></code>