mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 18:22:24 -05:00
XEP-0060: Add missing optional dataform in <default/> schema.
This commit is contained in:
parent
8180900b45
commit
2401b97e11
30
xep-0060.xml
30
xep-0060.xml
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user