1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-21 07:08:51 -05:00

XEP-0177: Made type optional in the schema

It’s a MAY in section 4.2, unlike in XEP-0176 where it is mandatory in
each candidate.
This commit is contained in:
Emmanuel Gil Peyrot 2020-12-10 00:38:27 +01:00
parent 2efb37a0ee
commit 56e191da42

View File

@ -31,6 +31,12 @@
&scottlu;
&hildjj;
&seanegan;
<revision>
<version>1.1.1</version>
<date>2020-12-10</date>
<initials>egp</initials>
<remark><p>Made type optional in the schema (its a MAY in section 4.2), unlike in XEP-0176.</p></remark>
</revision>
<revision>
<version>1.1</version>
<date>2009-12-23</date>
@ -427,7 +433,7 @@ INITIATOR RESPONDER
<xs:attribute name='id' type='xs:NCName' use='required'/>
<xs:attribute name='ip' type='xs:string' use='required'/>
<xs:attribute name='port' type='xs:unsignedShort' use='required'/>
<xs:attribute name='type' use='required'>
<xs:attribute name='type' use='optional'>
<xs:simpleType>
<xs:restriction base='xs:NCName'>
<xs:enumeration value='host'/>