1
0
mirror of https://github.com/moparisthebest/xeps synced 2025-02-17 15:40:30 -05:00

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

View File

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