mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 23:28:51 -05:00
disco schema tweaks
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3481 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
1e94bff5e3
commit
fe7f6f7129
19
xep-0030.xml
19
xep-0030.xml
@ -862,9 +862,9 @@ xmpp:romeo@montague.net?disco;type=get;request=items
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base='empty'>
|
||||
<xs:attribute name='category' type='xs:string' use='required'/>
|
||||
<xs:attribute name='category' type='nonEmptyString' use='required'/>
|
||||
<xs:attribute name='name' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='type' type='xs:string' use='required'/>
|
||||
<xs:attribute name='type' type='nonEmptyString' use='required'/>
|
||||
</xs:extension>
|
||||
</xs:simpleContent>
|
||||
</xs:complexType>
|
||||
@ -880,6 +880,12 @@ xmpp:romeo@montague.net?disco;type=get;request=items
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:simpleType name='nonEmptyString'>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:minLength value='1'/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name='empty'>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:enumeration value=''/>
|
||||
@ -919,7 +925,7 @@ xmpp:romeo@montague.net?disco;type=get;request=items
|
||||
<xs:complexType>
|
||||
<xs:simpleContent>
|
||||
<xs:extension base='empty'>
|
||||
<xs:attribute name='jid' type='xs:string' use='required'/>
|
||||
<xs:attribute name='jid' type='fullJIDType' use='required'/>
|
||||
<xs:attribute name='name' type='xs:string' use='optional'/>
|
||||
<xs:attribute name='node' type='xs:string' use='optional'/>
|
||||
</xs:extension>
|
||||
@ -927,6 +933,13 @@ xmpp:romeo@montague.net?disco;type=get;request=items
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:simpleType name='fullJIDType'>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:minLength value='8'/>
|
||||
<xs:maxLength value='3071'/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name='empty'>
|
||||
<xs:restriction base='xs:string'>
|
||||
<xs:enumeration value=''/>
|
||||
|
Loading…
Reference in New Issue
Block a user