1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-21 23:28:51 -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/>
<supersededby/>
<shortname>dialback</shortname>
<schemaloc>
<url>http://xmpp.org/schemas/dialback.xsd</url>
</schemaloc>
&jer;
&stpeter;
&fippo;
@ -725,6 +728,13 @@ home.montague.example. 86400 IN A 10.44.0.
xmlns='jabber:server:dialback'
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'
schemaLocation='http://xmpp.org/schemas/stanzaerror.xsd'/>
@ -794,6 +804,12 @@ home.montague.example. 86400 IN A 10.44.0.
</xs:complexType>
</xs:element>
<xs:simpleType name='empty'>
<xs:restriction base='xs:string'>
<xs:enumeration value=''/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
]]></code>
</section2>

View File

@ -22,6 +22,9 @@
<supersedes/>
<supersededby/>
<shortname>bidi</shortname>
<schemaloc>
<url>http://xmpp.org/schemas/bidi.xsd</url>
</schemaloc>
&fippo;
&dcridland;
<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 -->
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 topic='IANA Considerations' anchor='iana'>
<p>This document requires no interaction with &IANA;.</p>
</section1>
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
<section2 topic='Protocol Namespaces' anchor='registrar-ns'>
<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>
</section2>
</section1>
<section1 topic='IANA Considerations' anchor='iana'>
<p>This document requires no interaction with &IANA;.</p>
<section1 topic='XML Schema' anchor='schema'>
<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 topic='Acknowledgements' anchor='ack'>
<p>Thanks to Justin Karneges and Torje Henriksen.</p>
</section1>