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

Merge branch 'xep-0215' into premerge

This commit is contained in:
Jonas Schäfer 2021-10-26 16:20:58 +02:00
commit 430d158e8c

View File

@ -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 &lt;service/&gt; in &lt;services/&gt;.</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'/>