1
0
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:
Peter Saint-Andre 2009-10-01 03:07:24 +00:00
parent 1e94bff5e3
commit fe7f6f7129

View File

@ -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=''/>