-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,14 @@ | |
<jid>[email protected]</jid> | ||
</author> | ||
&mwild; | ||
<revision> | ||
<version>0.1.1</version> | ||
<date>2024-08-02</date> | ||
<initials>egp</initials> | ||
<remark> | ||
<p>Add the XML Schema.</p> | ||
</remark> | ||
</revision> | ||
<revision> | ||
<version>0.1.0</version> | ||
<date>2023-05-04</date> | ||
|
@@ -129,6 +137,36 @@ | |
<p>The ability for a client to announce limits on what it will receive on a client-to-server stream is deliberately not provided by this specification. This vastly simplifies discovery of the maximum limits between any two JIDs, and it avoids situations where the server is unable to deliver incoming stanzas to some or all of an account's connected clients. Clients will already be protected from denial-of-service through excessive stanza sizes due to the server's own limits.</p> | ||
</section1> | ||
<section1 topic='XML Schema' anchor='schema'> | ||
<p>TBD.</p> | ||
<code><![CDATA[ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<xs:schema | ||
xmlns:xs='http://www.w3.org/2001/XMLSchema' | ||
xmlns='urn:xmpp:stream-limits:0' | ||
targetNamespace='urn:xmpp:stream-limits:0' | ||
elementFormDefault='qualified'> | ||
<xs:annotation> | ||
<xs:documentation> | ||
The protocol documented by this schema is defined in | ||
XEP-0478: https://xmpp.org/extensions/xep-0478.html | ||
</xs:documentation> | ||
</xs:annotation> | ||
<xs:element name='limits'> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element ref='max-bytes'/> | ||
<xs:element ref='idle-seconds'/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
<xs:element name='max-bytes' type='xs:unsignedInt'/> | ||
<xs:element name='idle-seconds' type='xs:unsignedInt'/> | ||
</xs:schema> | ||
]]></code> | ||
</section1> | ||
</xep> |