aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Henkes <tim.henkes@student.hs-rm.de>2017-09-23 10:27:52 +0200
committerTim Henkes <tim.henkes@student.hs-rm.de>2017-09-23 10:27:52 +0200
commitdd95f28fa4a74e30c7a73e5e2ad99bf38f6bd047 (patch)
treeff7a67c39c352ece598393f0ce308d40cc9b346c
parentb75992b648ed87556d5536fc8df21b1aff955869 (diff)
Removed order restriction of identities/features
-rw-r--r--xep-0030.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/xep-0030.xml b/xep-0030.xml
index ad6bab5..082c81c 100644
--- a/xep-0030.xml
+++ b/xep-0030.xml
@@ -874,8 +874,20 @@ xmpp:romeo@montague.net?disco;type=get;request=items
<xs:element name='query'>
<xs:complexType>
<xs:sequence minOccurs='0'>
- <xs:element ref='identity' maxOccurs='unbounded'/>
- <xs:element ref='feature' maxOccurs='unbounded'/>
+ <xs:choice>
+ <xs:sequence>
+ <xs:element ref='feature' maxOccurs='unbounded'/>
+ <xs:element ref='identity'/>
+ </xs:sequence>
+ <xs:sequence>
+ <xs:element ref='identity' maxOccurs='unbounded'/>
+ <xs:element ref='feature'/>
+ </xs:sequence>
+ </xs:choice>
+ <xs:choice minOccurs='0' maxOccurs='unbounded'>
+ <xs:element ref='identity'/>
+ <xs:element ref='feature'/>
+ </xs:choice>
</xs:sequence>
<xs:attribute name='node' type='xs:string' use='optional'/>
</xs:complexType>