mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
XEP-0215: Fix the schema
- Allow more than a single <service/> in <services/>. - Restrict the 'port' attribute to xs:unsignedShort, but make it optional as per section 3.3.
This commit is contained in:
parent
f200f3517b
commit
3d3dcdb209
16
xep-0215.xml
16
xep-0215.xml
@ -24,6 +24,18 @@
|
|||||||
&seanegan;
|
&seanegan;
|
||||||
&mlundblad;
|
&mlundblad;
|
||||||
&lance;
|
&lance;
|
||||||
|
<revision>
|
||||||
|
<version>0.7.2</version>
|
||||||
|
<date>2021-10-23</date>
|
||||||
|
<initials>egp</initials>
|
||||||
|
<remark>
|
||||||
|
<p>Fix the schema to:</p>
|
||||||
|
<ul>
|
||||||
|
<li>Allow more than a single <service/> in <services/>.</li>
|
||||||
|
<li>Restrict the 'port' attribute to xs:unsignedShort, but make it optional as per section 3.3.</li>
|
||||||
|
</ul>
|
||||||
|
</remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.7.1</version>
|
<version>0.7.1</version>
|
||||||
<date>2021-08-31</date>
|
<date>2021-08-31</date>
|
||||||
@ -448,7 +460,7 @@
|
|||||||
|
|
||||||
<xs:element name='services'>
|
<xs:element name='services'>
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence minOccurs='0'>
|
<xs:sequence minOccurs='0' maxOccurs='unbounded'>
|
||||||
<xs:element ref='service'/>
|
<xs:element ref='service'/>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
<xs:attribute name='type' type='xs:NCName' use='optional'/>
|
<xs:attribute name='type' type='xs:NCName' use='optional'/>
|
||||||
@ -481,7 +493,7 @@
|
|||||||
<xs:attribute name='host' type='xs:string' use='required'/>
|
<xs:attribute name='host' type='xs:string' use='required'/>
|
||||||
<xs:attribute name='name' type='xs:string' use='optional'/>
|
<xs:attribute name='name' type='xs:string' use='optional'/>
|
||||||
<xs:attribute name='password' type='xs:string' use='optional'/>
|
<xs:attribute name='password' type='xs:string' use='optional'/>
|
||||||
<xs:attribute name='port' type='xs:string' use='required'/>
|
<xs:attribute name='port' type='xs:unsignedShort' use='optional'/>
|
||||||
<xs:attribute name='restricted' type='xs:boolean' use='optional'/>
|
<xs:attribute name='restricted' type='xs:boolean' use='optional'/>
|
||||||
<xs:attribute name='transport' type='xs:NCName' use='optional'/>
|
<xs:attribute name='transport' type='xs:NCName' use='optional'/>
|
||||||
<xs:attribute name='type' type='xs:NCName' use='required'/>
|
<xs:attribute name='type' type='xs:NCName' use='required'/>
|
||||||
|
Loading…
Reference in New Issue
Block a user