1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-20 22:58:52 -05:00

XEP-0198: Fix typoes

s/handled-count-to-high/handled-count-too-high/, s/to/too/, and s/a( undefined-condition)/an\1/, as well as adding </> around handled-count-too-high in the text.
This commit is contained in:
linkmauve 2018-09-19 20:20:36 +02:00 committed by GitHub
parent e40792b25a
commit b7e8c0b6f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -432,11 +432,11 @@
</failed>
]]></example>
<p>Stream management errors SHOULD be considered recoverable; however, misuse of stream management MAY result in termination of the stream.</p>
<p>When a remote entity acknowledges that it has handled a number of stanzas that is higher than the amount of stanzas that it was sent (by sending an 'h' value that is to high), the local entity SHOULD generate a undefined-condition stream error that includes a handled-count-to-high element, and close the stream:</p>
<p>When a remote entity acknowledges that it has handled a number of stanzas that is higher than the amount of stanzas that it was sent (by sending an 'h' value that is too high), the local entity SHOULD generate an undefined-condition stream error that includes a &lt;handled-count-too-high/&gt; element, and close the stream:</p>
<example caption='Entity closes stream because peer acknowledges more stanzas than it was sent'><![CDATA[
<stream:error>
<undefined-condition xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
<handled-count-to-high xmlns='urn:xmpp:sm:3' h='10' send-count='8'/>
<handled-count-too-high xmlns='urn:xmpp:sm:3' h='10' send-count='8'/>
<text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-streams'>
You acknowledged 10 stanzas, but I only sent you 8 so far.
</text>
@ -693,7 +693,7 @@
</xs:restriction>
</xs:simpleType>
<xs:element name='handled-count-to-high'>
<xs:element name='handled-count-too-high'>
<xs:complexType>
<xs:attribute name='send-count'
type='xs:unsignedInt'