XEP-0060: Add missing optional dataform in <default/> schema.

This commit is contained in:
Emmanuel Gil Peyrot 2018-05-14 23:28:46 +02:00
parent 8180900b45
commit 2401b97e11
1 changed files with 15 additions and 15 deletions

View File

@ -6541,6 +6541,7 @@ xmpp:pubsub.shakespeare.lit?pubsub;action=retrieve;node=princely_musings
<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
xmlns:xdata='jabber:x:data'
targetNamespace='http://jabber.org/protocol/pubsub'
xmlns='http://jabber.org/protocol/pubsub'
elementFormDefault='qualified'>
@ -6635,21 +6636,20 @@ xmpp:pubsub.shakespeare.lit?pubsub;action=retrieve;node=princely_musings
<xs:element name='default'>
<xs:complexType>
<xs:simpleContent>
<xs:extension base='empty'>
<xs:attribute name='node' type='xs:string' use='optional'/>
<xs:attribute name='type'
use='optional'
default='leaf'>
<xs:simpleType>
<xs:restriction base='xs:NCName'>
<xs:enumeration value='collection'/>
<xs:enumeration value='leaf'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
<xs:choice minOccurs='0'>
<xs:element ref='xdata:x'/>
</xs:choice>
<xs:attribute name='node' type='xs:string' use='optional'/>
<xs:attribute name='type'
use='optional'
default='leaf'>
<xs:simpleType>
<xs:restriction base='xs:NCName'>
<xs:enumeration value='collection'/>
<xs:enumeration value='leaf'/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>