1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 02:02:16 -05:00

XEP-0294: Make the schema tighter by using xs:unsignedShort for the 'id' attribute

Thanks gst-meet for making me notice!
This commit is contained in:
Emmanuel Gil Peyrot 2021-10-23 12:33:09 +02:00
parent f200f3517b
commit c219ef8bcb

View File

@ -33,6 +33,12 @@
<email>olivier.crete@collabora.co.uk</email> <email>olivier.crete@collabora.co.uk</email>
<jid>olivier.crete@collabora.co.uk</jid> <jid>olivier.crete@collabora.co.uk</jid>
</author> </author>
<revision>
<version>1.1.1</version>
<date>2021-10-23</date>
<initials>egp</initials>
<remark><p>Strenghten the restriction on the 'id' attribute in the schema by making it xs:unsignedShort.</p></remark>
</revision>
<revision> <revision>
<version>1.1</version> <version>1.1</version>
<date>2021-03-28</date> <date>2021-03-28</date>
@ -311,7 +317,7 @@ a=extmap-allow-mixed
minOccurs='0' minOccurs='0'
maxOccurs='unbounded'/> maxOccurs='unbounded'/>
</xs:sequence> </xs:sequence>
<xs:attribute name='id' type='xs:unsignedInt' use='required'/> <xs:attribute name='id' type='xs:unsignedShort' use='required'/>
<xs:attribute name='uri' type='xs:string' use='required'/> <xs:attribute name='uri' type='xs:string' use='required'/>
<xs:attribute name='senders' <xs:attribute name='senders'
use='optional' use='optional'