1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-22 01:02:17 -05:00

schema updates

This commit is contained in:
Peter Saint-Andre 2013-09-28 20:29:45 -06:00
parent e31335eb76
commit 9cb8250400
2 changed files with 73 additions and 2 deletions

View File

@ -20,6 +20,9 @@
<supersedes/> <supersedes/>
<supersededby/> <supersededby/>
<shortname>dialback</shortname> <shortname>dialback</shortname>
<schemaloc>
<url>http://xmpp.org/schemas/dialback.xsd</url>
</schemaloc>
&jer; &jer;
&stpeter; &stpeter;
&fippo; &fippo;
@ -725,6 +728,13 @@ home.montague.example. 86400 IN A 10.44.0.
xmlns='jabber:server:dialback' xmlns='jabber:server:dialback'
elementFormDefault='qualified'> elementFormDefault='qualified'>
<xs:annotation>
<xs:documentation>
The protocol documented by this schema is defined in
XEP-0220: http://www.xmpp.org/extensions/xep-0220.html
</xs:documentation>
</xs:annotation>
<xs:import namespace='urn:ietf:params:xml:ns:xmpp-stanzas' <xs:import namespace='urn:ietf:params:xml:ns:xmpp-stanzas'
schemaLocation='http://xmpp.org/schemas/stanzaerror.xsd'/> schemaLocation='http://xmpp.org/schemas/stanzaerror.xsd'/>
@ -794,6 +804,12 @@ home.montague.example. 86400 IN A 10.44.0.
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:simpleType name='empty'>
<xs:restriction base='xs:string'>
<xs:enumeration value=''/>
</xs:restriction>
</xs:simpleType>
</xs:schema> </xs:schema>
]]></code> ]]></code>
</section2> </section2>

View File

@ -22,6 +22,9 @@
<supersedes/> <supersedes/>
<supersededby/> <supersededby/>
<shortname>bidi</shortname> <shortname>bidi</shortname>
<schemaloc>
<url>http://xmpp.org/schemas/bidi.xsd</url>
</schemaloc>
&fippo; &fippo;
&dcridland; &dcridland;
<revision> <revision>
@ -218,6 +221,9 @@ C: <db:result from='capulet.lit' to='conference.montague.lit' type='valid'/>
<!-- one might explain why not... http://mail.jabber.org/pipermail/xmppwg/2004-February/002026.html --> <!-- one might explain why not... http://mail.jabber.org/pipermail/xmppwg/2004-February/002026.html -->
Note that the impact of the &quot;unsolicited server dialback&quot; attack described in <cite>XEP-0220</cite> is considerably larger for bidirectional streams, e.g. a vulnerability which allows spoofing might also route messages to the wrong targets. Additionally, dialback elements with a &quot;type&quot; attribute also need to be handled in incoming connections.</p> Note that the impact of the &quot;unsolicited server dialback&quot; attack described in <cite>XEP-0220</cite> is considerably larger for bidirectional streams, e.g. a vulnerability which allows spoofing might also route messages to the wrong targets. Additionally, dialback elements with a &quot;type&quot; attribute also need to be handled in incoming connections.</p>
</section1> </section1>
<section1 topic='IANA Considerations' anchor='iana'>
<p>This document requires no interaction with &IANA;.</p>
</section1>
<section1 topic='XMPP Registrar Considerations' anchor='registrar'> <section1 topic='XMPP Registrar Considerations' anchor='registrar'>
<section2 topic='Protocol Namespaces' anchor='registrar-ns'> <section2 topic='Protocol Namespaces' anchor='registrar-ns'>
<p>The &REGISTRAR; includes 'urn:xmpp:bidi' in its registry of protocol namespaces (see &NAMESPACES;).</p> <p>The &REGISTRAR; includes 'urn:xmpp:bidi' in its registry of protocol namespaces (see &NAMESPACES;).</p>
@ -226,9 +232,58 @@ C: <db:result from='capulet.lit' to='conference.montague.lit' type='valid'/>
<p>The XMPP Registrar includes 'urn:xmpp:features:bidi' in its registry of stream features (see &STREAMFEATURES;).</p> <p>The XMPP Registrar includes 'urn:xmpp:features:bidi' in its registry of stream features (see &STREAMFEATURES;).</p>
</section2> </section2>
</section1> </section1>
<section1 topic='IANA Considerations' anchor='iana'> <section1 topic='XML Schema' anchor='schema'>
<p>This document requires no interaction with &IANA;.</p> <section2 topic="Bidi" anchor="schema-bidi">
<code><![CDATA[
<?xml version='1.0' encoding='UTF-8'?>
<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='urn:xmpp:bidi'
xmlns='urn:xmpp:bidi'
elementFormDefault='qualified'>
<xs:annotation>
<xs:documentation>
The protocol documented by this schema is defined in
XEP-0288: http://www.xmpp.org/extensions/xep-0288.html
</xs:documentation>
</xs:annotation>
<xs:element name='bidi' type='empty'/>
<xs:simpleType name='empty'>
<xs:restriction base='xs:string'>
<xs:enumeration value=''/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
]]></code>
</section2>
<section2 topic="Stream Feature" anchor="schema-feature">
<code><![CDATA[
<?xml version='1.0' encoding='UTF-8'?>
<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace='urn:xmpp:features:bidi'
xmlns='urn:xmpp:features:bidi'
elementFormDefault='qualified'>
<xs:element name='bidi' type='empty'/>
<xs:simpleType name='empty'>
<xs:restriction base='xs:string'>
<xs:enumeration value=''/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
]]></code>
</section2>
</section1> </section1>
<section1 topic='Acknowledgements' anchor='ack'> <section1 topic='Acknowledgements' anchor='ack'>
<p>Thanks to Justin Karneges and Torje Henriksen.</p> <p>Thanks to Justin Karneges and Torje Henriksen.</p>
</section1> </section1>