<xs:element ref="packages:author"/>
<xs:element ref="packages:description"/>
<xs:element ref="packages:compatibility"/>
- <xs:element ref="packages:device-profile"/>
+ <xs:element ref="packages:profile"/>
<xs:element ref="packages:service-application"/>
<xs:element ref="packages:ui-application"/>
<xs:element ref="packages:ime-application"/>
<xs:attribute name="appsetting" type="xs:boolean"/>
<xs:attribute name="nodisplay-setting" type="xs:boolean"/>
<xs:attribute name="url" type="xs:string"/>
+ <xs:attribute name="api-version" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:enumeration value="tpk"/>
<xs:enumeration value="wgt"/>
<xs:enumeration value="apk"/>
+ <xs:enumeration value="coretpk"/>
</xs:restriction>
</xs:simpleType>
+ <xs:simpleType name="ProfileType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="mobile"/>
+ <xs:enumeration value="wearable"/>
+ <xs:enumeration value="TV"/>
+ </xs:restriction>
+ </xs:simpleType>
<xs:simpleType name="TypeType">
<xs:restriction base="xs:string">
<xs:enumeration value="capp"/>
<xs:element name="device-profile">
<xs:complexType/>
</xs:element>
+ <xs:element name="profile">
+ <xs:complexType>
+ <xs:attribute name="name" type="packages:ProfileType"/>
+ </xs:complexType>
+ </xs:element>
<xs:element name="service-application">
<xs:complexType>
<xs:sequence>
memset(icon, '\0', sizeof(icon_x));
LISTADD(mfx->icon, icon);
ret = __ps_process_icon(reader, icon, uid);
- } else if (!strcmp(ASCII(node), "device-profile")) {
+ } else if (!strcmp(ASCII(node), "profile")) {
deviceprofile_x *deviceprofile = malloc(sizeof(deviceprofile_x));
if (deviceprofile == NULL) {
_LOGD("Malloc Failed\n");