A <key> element of model-config.xml has changed to have attribute @value
and it replaces the role of the text node.
- As-is: <key name="tizen.org/feature/nlp" type="bool">false</key>
- To-be: <key name="tizen.org/feature/nlp" type="bool" value="false"/>
This is because, it looks better when the <key> has @type="enum". Such
a <key> should have a child <enum> element. And if the change had not
made, the text value of <key> would have followed the </enum>, which
looks bad.
Change-Id: I227d9271a6fbfb77308fb197b503edb87c2f332c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
continue;
}
- value = (char *)xmlNodeListGetString(doc, cur_node->xmlChildrenNode, 1);
+ value = (char *)xmlGetProp(cur_node, (const xmlChar*)"value");
if (!value) {
xmlFree(name);
xmlFree(type);