From: Sangyoon Jang Date: Wed, 31 Dec 2014 08:13:34 +0000 (+0900) Subject: Fix manifest schema for support tizen 2.3 tpk package X-Git-Tag: accepted/tizen/common/20150113.085846~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d958732740ce347571e177dae3dbcd242124f5f;p=platform%2Fcore%2Fappfw%2Fpkgmgr-info.git Fix manifest schema for support tizen 2.3 tpk package for support ".tpk" package files in tizen 2.3 Change-Id: I95837c27ba26f692bc1d7e3f8ba01a709a8fd8b6 Signed-off-by: Sangyoon Jang --- diff --git a/parser/manifest.xsd.in b/parser/manifest.xsd.in index cdf17f6..df8240b 100755 --- a/parser/manifest.xsd.in +++ b/parser/manifest.xsd.in @@ -11,7 +11,7 @@ - + @@ -36,6 +36,7 @@ + @@ -52,8 +53,16 @@ + + + + + + + + @@ -100,6 +109,11 @@ + + + + + diff --git a/parser/pkgmgr_parser.c b/parser/pkgmgr_parser.c index 849a57a..f9446ef 100755 --- a/parser/pkgmgr_parser.c +++ b/parser/pkgmgr_parser.c @@ -4078,7 +4078,7 @@ static int __start_process(xmlTextReaderPtr reader, manifest_x * mfx, uid_t uid) 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");