Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XEP-0388: add missing elements to XML Schema #1333

Merged
merged 3 commits into from
Mar 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 61 additions & 1 deletion xep-0388.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@
&dcridland;
&tmolitor;
&mwild;
<revision>
<version>0.4.1</version>
<date>2024-03-21</date>
<initials>dg</initials>
<remark>
<ul>
<li>Add missing elements to XML Schema</li>
<li>Add missing XMPP Registrar Considerations</li>
</ul>
</remark>
</revision>
<revision>
<version>0.4.0</version>
<date>2022-11-16</date>
Expand Down Expand Up @@ -640,7 +651,24 @@
</section1>

<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
<p>None.</p>
<section2 topic="Protocol Namespaces" anchor='registrar-ns'>
<p>This specification defines the following XML namespace:</p>
<ul>
<li>urn:xmpp:sasl:2</li>
</ul>
</section2>
<section2 topic='Stream Features' anchor='registrar-stream-features'>
<p>The XMPP Registrar includes "urn:xmpp:sasl:2" in its registry of stream features (see &STREAMFEATURES;).</p>
<code><![CDATA[
<feature>
<ns>urn:xmpp:sasl:2</ns>
<name>sasl2</name>
<element>authentication</element>
<desc>Indicate support for Extensible SASL Profile</desc>
<doc>&xep0388;</doc>
</feature>
]]></code>
</section2>
</section1>

<section1 topic="XML Schema">
Expand Down Expand Up @@ -680,6 +708,15 @@
<xs:attribute name="mechanism" type="SaslMechName"/>
<xs:sequence>
<xs:element name="initial-response" type="SaslData" minOccurs="0" maxOccurs="1"/>
<xs:element name="user-agent>
<xs:complexType>
<xs:attribute name="id" type="Uuid"/>
<xs:sequence>
<xs:element name="software" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="device" type="xs:string" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:any/>
</xs:sequence>
</xs:complexType>
Expand All @@ -699,6 +736,15 @@
</xs:complexType>
</xs:element>

<xs:element name="failure">
<xs:complexType>
<xs:sequence>
<xs:element name="text" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:any/>
</xs:sequence>
</xs:complexType>
</xs:element>

<xs:element name="continue">
<xs:complexType>
<xs:sequence>
Expand All @@ -723,12 +769,26 @@
</xs:complexType>
</xs:element>

<xs:element name="task-data">
<xs:complexType>
<xs:sequence>
<xs:any/>
</xs:sequence>
</xs:complexType>
</xs:element>

<xs:simpleType name="Jid">
<xs:restriction base="xs:string">
<xs:maxLength value="3071"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="Uuid">
<xsd:restriction base="xsd:string">
<xsd:pattern value="([0-9]|[a-f]|[A-F]){8}-([0-9]|[a-f]|[A-F]){4}-([0-9]|[a-f]|[A-F]){4}-([0-9]|[a-f]|[A-F]){4}-([0-9]|[a-f]|[A-F]){12}"/>
</xsd:restriction>
</xs:simpleType>

<xs:simpleType name="SaslMechName">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
Expand Down
Loading