projects
/
platform
/
core
/
appfw
/
app-installers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d0014
)
Fix plugin_xml_parser
07/205607/2
author
Ilho Kim
<ilho159.kim@samsung.com>
Wed, 8 May 2019 04:32:11 +0000
(13:32 +0900)
committer
Ilho Kim
<ilho159.kim@samsung.com>
Wed, 8 May 2019 05:08:08 +0000
(14:08 +0900)
If xml file have comment line at root tag's depth, parsing is stopped
Change-Id: I04be43a4fdbeeda77937fb1d2996178561fea31b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/plugins/plugin_xml_parser.cc
patch
|
blob
|
history
diff --git
a/src/common/plugins/plugin_xml_parser.cc
b/src/common/plugins/plugin_xml_parser.cc
index
85be517
..
d126f88
100644
(file)
--- a/
src/common/plugins/plugin_xml_parser.cc
+++ b/
src/common/plugins/plugin_xml_parser.cc
@@
-63,6
+63,8
@@
int PluginsXmlParser::NextChildElement(xmlTextReaderPtr reader, int depth) {
case XML_READER_TYPE_ELEMENT:
if (cur >= depth + 1) return 1;
break;
+ case XML_READER_TYPE_COMMENT:
+ break;
default:
if (cur <= depth) return 0;