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: Fix failure example sequence #1411

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
12 changes: 10 additions & 2 deletions xep-0388.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
&dcridland;
&tmolitor;
&mwild;
<revision>
<version>1.0.3</version>
<date>2024-12-22</date>
<initials>sp</initials>
<remark><ul>
<li>Fix failure example sequence.</li>
</ul></remark>
</revision>
<revision>
<version>1.0.2</version>
<date>2024-08-06</date>
Expand Down Expand Up @@ -299,13 +307,13 @@
<p>The &lt;success> element is immediately followed by a &lt;features> element in the "http://etherx.jabber.org/streams" namespace containing the applicable stream features of the newly authenticated stream. Note that no stream restart occurs.</p>
</section3>
<section3 topic="Failure" anchor="failure">
<p>A &lt;failure/> element is used by the server to terminate the authentication attempt. It MAY contain application-specific error codes, and MAY contain a textual error. It MUST contain one of the SASL error codes from RFC 6120 Section 6.5.</p>
<p>A &lt;failure/> element is used by the server to terminate the authentication attempt. It MAY contain a textual error and, MAY contain application-specific error codes. It MUST contain one of the SASL error codes from RFC 6120 Section 6.5.</p>
<p>The server MUST NOT process any inline features requested by the client in a failed authentication request, if any.</p>
<example caption="Failure"><![CDATA[
<failure xmlns='urn:xmpp:sasl:2'>
<aborted xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
<optional-application-specific xmlns='urn:something:else'/>
<text>This is a terrible example.</text>
<optional-application-specific xmlns='urn:something:else'/>
</failure>
]]></example>
</section3>
Expand Down
Loading