Fix manifest xsd schema 61/147861/3
authorSangyoon Jang <jeremy.jang@samsung.com>
Wed, 6 Sep 2017 02:38:10 +0000 (11:38 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Fri, 8 Sep 2017 02:22:30 +0000 (02:22 +0000)
Remove unnecessary sequence indicator.

Change-Id: I43bfdf723ae58e1f7af0fd51c1c24eec0ff4a988
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
parser/manifest.xsd.in
parser/manifest.xsd.ref

index c9b356f..11144fa 100644 (file)
@@ -4,32 +4,30 @@
 
   <xs:element name="manifest">
     <xs:complexType>
 
   <xs:element name="manifest">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-          <xs:element ref="packages:author"/>
-          <xs:element ref="packages:description"/>
-          <xs:element ref="packages:compatibility"/>
-          <xs:element ref="packages:profile"/>
-          <xs:element ref="packages:watch-application"/>
-          <xs:element ref="packages:watchface"/>
-          <xs:element ref="packages:service-application"/>
-          <xs:element ref="packages:ui-application"/>
-          <xs:element ref="packages:ime-application"/>
-          <xs:element ref="packages:shortcut-list"/>
-          <xs:element ref="packages:widget"/>
-          <xs:element ref="packages:widget-application"/>
-          <xs:element ref="packages:account"/>
-          <xs:element ref="packages:notifications"/>
-          <xs:element ref="packages:privileges"/>
-          <xs:element ref="packages:font"/>
-          <xs:element ref="packages:ime"/>
-          <xs:element ref="packages:feature"/>
-          <xs:element ref="packages:trust-anchor"/>
-        </xs:choice>
+      <xs:choice maxOccurs="unbounded">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
+        <xs:element ref="packages:author"/>
+        <xs:element ref="packages:description"/>
+        <xs:element ref="packages:compatibility"/>
+        <xs:element ref="packages:profile"/>
+        <xs:element ref="packages:watch-application"/>
+        <xs:element ref="packages:watchface"/>
+        <xs:element ref="packages:service-application"/>
+        <xs:element ref="packages:ui-application"/>
+        <xs:element ref="packages:ime-application"/>
+        <xs:element ref="packages:shortcut-list"/>
+        <xs:element ref="packages:widget"/>
+        <xs:element ref="packages:widget-application"/>
+        <xs:element ref="packages:account"/>
+        <xs:element ref="packages:notifications"/>
+        <xs:element ref="packages:privileges"/>
+        <xs:element ref="packages:font"/>
+        <xs:element ref="packages:ime"/>
+        <xs:element ref="packages:feature"/>
+        <xs:element ref="packages:trust-anchor"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
-      </xs:sequence>
+      </xs:choice>
       <xs:attribute name="storeclient-id" type="xs:string"/>
       <xs:attribute name="install-location" type="xs:string"/>
       <xs:attribute name="package" use="required" type="xs:string"/>
       <xs:attribute name="storeclient-id" type="xs:string"/>
       <xs:attribute name="install-location" type="xs:string"/>
       <xs:attribute name="package" use="required" type="xs:string"/>
   </xs:element>
   <xs:element name="watch-application">
     <xs:complexType>
   </xs:element>
   <xs:element name="watch-application">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-        </xs:choice>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
-      </xs:sequence>
+      </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="ambient-support" type="xs:boolean"/>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="ambient-support" type="xs:boolean"/>
   </xs:element>
   <xs:element name="service-application">
     <xs:complexType>
   </xs:element>
   <xs:element name="service-application">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-          <xs:element ref="packages:application-service"/>
-          <xs:element ref="packages:app-control"/>
-          <xs:element ref="packages:category"/>
-          <xs:element ref="packages:metadata"/>
-          <xs:element ref="packages:permission"/>
-          <xs:element ref="packages:datacontrol"/>
-          <xs:element ref="packages:background-category"/>
-        </xs:choice>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
+        <xs:element ref="packages:application-service"/>
+        <xs:element ref="packages:app-control"/>
+        <xs:element ref="packages:category"/>
+        <xs:element ref="packages:metadata"/>
+        <xs:element ref="packages:permission"/>
+        <xs:element ref="packages:datacontrol"/>
+        <xs:element ref="packages:background-category"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
-      </xs:sequence>
+      </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="auto-restart" type="xs:boolean"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="auto-restart" type="xs:boolean"/>
       <xs:attribute name="exec" use="required"/>
   </xs:element>
   <xs:element name="ui-application">
     <xs:complexType>
   </xs:element>
   <xs:element name="ui-application">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-          <xs:element ref="packages:image"/>
-          <xs:element ref="packages:application-service"/>
-          <xs:element ref="packages:app-control"/>
-          <xs:element ref="packages:category"/>
-          <xs:element ref="packages:metadata"/>
-          <xs:element ref="packages:permission"/>
-          <xs:element ref="packages:datacontrol"/>
-          <xs:element ref="packages:background-category"/>
-          <xs:element ref="packages:splash-screens"/>
-        </xs:choice>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
+        <xs:element ref="packages:image"/>
+        <xs:element ref="packages:application-service"/>
+        <xs:element ref="packages:app-control"/>
+        <xs:element ref="packages:category"/>
+        <xs:element ref="packages:metadata"/>
+        <xs:element ref="packages:permission"/>
+        <xs:element ref="packages:datacontrol"/>
+        <xs:element ref="packages:background-category"/>
+        <xs:element ref="packages:splash-screens"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
-      </xs:sequence>
+      </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="multiple" type="xs:boolean"/>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="multiple" type="xs:boolean"/>
   </xs:element>
   <xs:element name="ime-application">
     <xs:complexType>
   </xs:element>
   <xs:element name="ime-application">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-        </xs:choice>
+      <xs:choice maxOccurs="unbounded">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
-      </xs:sequence>
+      </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required" type="xs:NCName"/>
       <xs:attribute name="multiple" type="xs:boolean"/>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required" type="xs:NCName"/>
       <xs:attribute name="multiple" type="xs:boolean"/>
   </xs:element>
   <xs:element name="widget-application">
     <xs:complexType>
   </xs:element>
   <xs:element name="widget-application">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-          <xs:element ref="packages:metadata"/>
-          <xs:element ref="packages:support-size"/>
-        </xs:choice>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
+        <xs:element ref="packages:metadata"/>
+        <xs:element ref="packages:support-size"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
-      </xs:sequence>
+      </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="main" type="xs:boolean"/>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="main" type="xs:boolean"/>
   </xs:element>
   <xs:element name="privileges">
     <xs:complexType>
   </xs:element>
   <xs:element name="privileges">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:privilege"/>
-          <xs:element ref="packages:appdefined-privilege"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:privilege"/>
+        <xs:element ref="packages:appdefined-privilege"/>
+      </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name="privilege">
     </xs:complexType>
   </xs:element>
   <xs:element name="privilege">
   </xs:element>
   <xs:element name="provides-appdefined-privileges">
     <xs:complexType>
   </xs:element>
   <xs:element name="provides-appdefined-privileges">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:appdefined-privilege"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:appdefined-privilege"/>
+      </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name="appdefined-privilege">
     </xs:complexType>
   </xs:element>
   <xs:element name="appdefined-privilege">
   </xs:element>
   <xs:element name="application-service">
     <xs:complexType>
   </xs:element>
   <xs:element name="application-service">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded">
-          <xs:element ref="packages:operation"/>
-          <xs:element ref="packages:uri"/>
-          <xs:element ref="packages:mime"/>
-          <xs:element ref="packages:subapp"/>
-          <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded">
+        <xs:element ref="packages:operation"/>
+        <xs:element ref="packages:uri"/>
+        <xs:element ref="packages:mime"/>
+        <xs:element ref="packages:subapp"/>
+        <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
+      </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name="app-control">
     <xs:complexType>
     </xs:complexType>
   </xs:element>
   <xs:element name="app-control">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded">
-          <xs:element ref="packages:operation"/>
-          <xs:element ref="packages:uri"/>
-          <xs:element ref="packages:mime"/>
-          <xs:element ref="packages:subapp"/>
-          <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded">
+        <xs:element ref="packages:operation"/>
+        <xs:element ref="packages:uri"/>
+        <xs:element ref="packages:mime"/>
+        <xs:element ref="packages:subapp"/>
+        <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
+      </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name="category">
     <xs:complexType>
     </xs:complexType>
   </xs:element>
   <xs:element name="category">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded">
-          <xs:any minOccurs="0" processContents="lax"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded">
+        <xs:any minOccurs="0" processContents="lax"/>
+      </xs:choice>
       <xs:attribute name="name" use="required"/>
       <xs:anyAttribute processContents="lax"/>
     </xs:complexType>
       <xs:attribute name="name" use="required"/>
       <xs:anyAttribute processContents="lax"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="datacontrol">
   <xs:complexType>
   </xs:element>
   <xs:element name="datacontrol">
   <xs:complexType>
-    <xs:sequence>
-      <xs:choice maxOccurs="unbounded" minOccurs="0">
-        <xs:element ref="packages:privilege"/>
-      </xs:choice>
-    </xs:sequence>
+    <xs:choice maxOccurs="unbounded" minOccurs="0">
+      <xs:element ref="packages:privilege"/>
+    </xs:choice>
     <xs:attribute name="providerid" type="xs:string"/>
     <xs:attribute name="access" type="xs:string"/>
     <xs:attribute name="type" type="xs:string"/>
     <xs:attribute name="providerid" type="xs:string"/>
     <xs:attribute name="access" type="xs:string"/>
     <xs:attribute name="type" type="xs:string"/>
   </xs:element>
   <xs:element name="splash-screens">
     <xs:complexType>
   </xs:element>
   <xs:element name="splash-screens">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
         <xs:element ref="packages:splash-screen"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
         <xs:element ref="packages:splash-screen"/>
         <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
-        </xs:choice>
-      </xs:sequence>
+      </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name="splash-screen">
     </xs:complexType>
   </xs:element>
   <xs:element name="splash-screen">
index 815571c..90b9884 100644 (file)
@@ -4,31 +4,29 @@
 
   <xs:element name="manifest">
     <xs:complexType>
 
   <xs:element name="manifest">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-          <xs:element ref="packages:author"/>
-          <xs:element ref="packages:description"/>
-          <xs:element ref="packages:compatibility"/>
-          <xs:element ref="packages:profile"/>
-          <xs:element ref="packages:watch-application"/>
-          <xs:element ref="packages:watchface"/>
-          <xs:element ref="packages:service-application"/>
-          <xs:element ref="packages:ui-application"/>
-          <xs:element ref="packages:ime-application"/>
-          <xs:element ref="packages:shortcut-list"/>
-          <xs:element ref="packages:widget"/>
-          <xs:element ref="packages:widget-application"/>
-          <xs:element ref="packages:account"/>
-          <xs:element ref="packages:notifications"/>
-          <xs:element ref="packages:privileges"/>
-          <xs:element ref="packages:font"/>
-          <xs:element ref="packages:ime"/>
-          <xs:element ref="packages:feature"/>
-          <xs:element ref="packages:trust-anchor"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
+        <xs:element ref="packages:author"/>
+        <xs:element ref="packages:description"/>
+        <xs:element ref="packages:compatibility"/>
+        <xs:element ref="packages:profile"/>
+        <xs:element ref="packages:watch-application"/>
+        <xs:element ref="packages:watchface"/>
+        <xs:element ref="packages:service-application"/>
+        <xs:element ref="packages:ui-application"/>
+        <xs:element ref="packages:ime-application"/>
+        <xs:element ref="packages:shortcut-list"/>
+        <xs:element ref="packages:widget"/>
+        <xs:element ref="packages:widget-application"/>
+        <xs:element ref="packages:account"/>
+        <xs:element ref="packages:notifications"/>
+        <xs:element ref="packages:privileges"/>
+        <xs:element ref="packages:font"/>
+        <xs:element ref="packages:ime"/>
+        <xs:element ref="packages:feature"/>
+        <xs:element ref="packages:trust-anchor"/>
+      </xs:choice>
       <xs:attribute name="storeclient-id" type="xs:string"/>
       <xs:attribute name="install-location" type="packages:InstallLocationType"/>
       <xs:attribute name="package" use="required" type="xs:string"/>
       <xs:attribute name="storeclient-id" type="xs:string"/>
       <xs:attribute name="install-location" type="packages:InstallLocationType"/>
       <xs:attribute name="package" use="required" type="xs:string"/>
   </xs:element>
   <xs:element name="watch-application">
     <xs:complexType>
   </xs:element>
   <xs:element name="watch-application">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
+      </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="ambient-support" type="xs:boolean"/>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="ambient-support" type="xs:boolean"/>
   </xs:element>
   <xs:element name="service-application">
     <xs:complexType>
   </xs:element>
   <xs:element name="service-application">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-          <xs:element ref="packages:application-service"/>
-          <xs:element ref="packages:app-control"/>
-          <xs:element ref="packages:category"/>
-          <xs:element ref="packages:metadata"/>
-          <xs:element ref="packages:permission"/>
-          <xs:element ref="packages:datacontrol"/>
-          <xs:element ref="packages:background-category"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
+        <xs:element ref="packages:application-service"/>
+        <xs:element ref="packages:app-control"/>
+        <xs:element ref="packages:category"/>
+        <xs:element ref="packages:metadata"/>
+        <xs:element ref="packages:permission"/>
+        <xs:element ref="packages:datacontrol"/>
+        <xs:element ref="packages:background-category"/>
+      </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="auto-restart" type="xs:boolean"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="auto-restart" type="xs:boolean"/>
       <xs:attribute name="exec" use="required"/>
   </xs:element>
   <xs:element name="ui-application">
     <xs:complexType>
   </xs:element>
   <xs:element name="ui-application">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-          <xs:element ref="packages:image"/>
-          <xs:element ref="packages:application-service"/>
-          <xs:element ref="packages:app-control"/>
-          <xs:element ref="packages:category"/>
-          <xs:element ref="packages:metadata"/>
-          <xs:element ref="packages:permission"/>
-          <xs:element ref="packages:datacontrol"/>
-          <xs:element ref="packages:background-category"/>
-          <xs:element ref="packages:splash-screens"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
+        <xs:element ref="packages:image"/>
+        <xs:element ref="packages:application-service"/>
+        <xs:element ref="packages:app-control"/>
+        <xs:element ref="packages:category"/>
+        <xs:element ref="packages:metadata"/>
+        <xs:element ref="packages:permission"/>
+        <xs:element ref="packages:datacontrol"/>
+        <xs:element ref="packages:background-category"/>
+        <xs:element ref="packages:splash-screens"/>
+      </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="multiple" type="xs:boolean"/>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="multiple" type="xs:boolean"/>
   </xs:element>
   <xs:element name="ime-application">
     <xs:complexType>
   </xs:element>
   <xs:element name="ime-application">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
+      </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required" type="xs:NCName"/>
       <xs:attribute name="multiple" type="xs:boolean"/>
       <xs:attribute name="appid" use="required" type="xs:string"/>
       <xs:attribute name="exec" use="required" type="xs:NCName"/>
       <xs:attribute name="multiple" type="xs:boolean"/>
   </xs:element>
   <xs:element name="widget-application">
     <xs:complexType>
   </xs:element>
   <xs:element name="widget-application">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:label"/>
-          <xs:element ref="packages:icon"/>
-          <xs:element ref="packages:support-size"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:label"/>
+        <xs:element ref="packages:icon"/>
+        <xs:element ref="packages:support-size"/>
+      </xs:choice>
       <xs:attribute name="appid" use="required" type="xs:ID"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="main" type="xs:boolean"/>
       <xs:attribute name="appid" use="required" type="xs:ID"/>
       <xs:attribute name="exec" use="required"/>
       <xs:attribute name="main" type="xs:boolean"/>
   </xs:element>
   <xs:element name="privileges">
     <xs:complexType>
   </xs:element>
   <xs:element name="privileges">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:privilege"/>
-          <xs:element ref="packages:appdefined-privilege"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:privilege"/>
+        <xs:element ref="packages:appdefined-privilege"/>
+      </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name="privilege">
     </xs:complexType>
   </xs:element>
   <xs:element name="privilege">
   </xs:element>
   <xs:element name="provides-appdefined-privileges">
     <xs:complexType>
   </xs:element>
   <xs:element name="provides-appdefined-privileges">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:appdefined-privilege"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:appdefined-privilege"/>
+      </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name="appdefined-privilege">
     </xs:complexType>
   </xs:element>
   <xs:element name="appdefined-privilege">
   </xs:simpleType>
   <xs:element name="application-service">
     <xs:complexType>
   </xs:simpleType>
   <xs:element name="application-service">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded">
-          <xs:element ref="packages:operation"/>
-          <xs:element ref="packages:uri"/>
-          <xs:element ref="packages:mime"/>
-          <xs:element ref="packages:subapp"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded">
+        <xs:element ref="packages:operation"/>
+        <xs:element ref="packages:uri"/>
+        <xs:element ref="packages:mime"/>
+        <xs:element ref="packages:subapp"/>
+      </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name="app-control">
     <xs:complexType>
     </xs:complexType>
   </xs:element>
   <xs:element name="app-control">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded">
-          <xs:element ref="packages:operation"/>
-          <xs:element ref="packages:uri"/>
-          <xs:element ref="packages:mime"/>
-          <xs:element ref="packages:subapp"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded">
+        <xs:element ref="packages:operation"/>
+        <xs:element ref="packages:uri"/>
+        <xs:element ref="packages:mime"/>
+        <xs:element ref="packages:subapp"/>
+      </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name="category">
     <xs:complexType>
     </xs:complexType>
   </xs:element>
   <xs:element name="category">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded">
-          <xs:any minOccurs="0" processContents="lax"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded">
+        <xs:any minOccurs="0" processContents="lax"/>
+      </xs:choice>
       <xs:attribute name="name" use="required"/>
       <xs:anyAttribute processContents="lax"/>
     </xs:complexType>
       <xs:attribute name="name" use="required"/>
       <xs:anyAttribute processContents="lax"/>
     </xs:complexType>
   </xs:element>
   <xs:element name="datacontrol">
   <xs:complexType>
   </xs:element>
   <xs:element name="datacontrol">
   <xs:complexType>
-    <xs:sequence>
-      <xs:choice maxOccurs="unbounded" minOccurs="0">
-        <xs:element ref="packages:privilege"/>
-      </xs:choice>
-    </xs:sequence>
+    <xs:choice maxOccurs="unbounded" minOccurs="0">
+      <xs:element ref="packages:privilege"/>
+    </xs:choice>
     <xs:attribute name="providerid" type="xs:string"/>
     <xs:attribute name="access" type="xs:string"/>
     <xs:attribute name="type" type="xs:string"/>
     <xs:attribute name="providerid" type="xs:string"/>
     <xs:attribute name="access" type="xs:string"/>
     <xs:attribute name="type" type="xs:string"/>
   </xs:element>
   <xs:element name="splash-screens">
     <xs:complexType>
   </xs:element>
   <xs:element name="splash-screens">
     <xs:complexType>
-      <xs:sequence>
-        <xs:choice maxOccurs="unbounded" minOccurs="0">
-          <xs:element ref="packages:splash-screen"/>
-        </xs:choice>
-      </xs:sequence>
+      <xs:choice maxOccurs="unbounded" minOccurs="0">
+        <xs:element ref="packages:splash-screen"/>
+      </xs:choice>
     </xs:complexType>
   </xs:element>
   <xs:element name="splash-screen">
     </xs:complexType>
   </xs:element>
   <xs:element name="splash-screen">