- desc->id = xmlGetProp(node, wgt_config_string_id);
- desc->version = xmlGetProp(node, wgt_config_string_version);
- desc->width = getpropnum(node, wgt_config_string_width, 0);
- desc->height = getpropnum(node, wgt_config_string_height, 0);
- desc->viewmodes = xmlGetProp(node, wgt_config_string_viewmodes);
- desc->defaultlocale = xmlGetProp(node, wgt_config_string_defaultlocale);
+ desc->id = xmlGetProp(node, string_id);
+ make_lowercase(desc->id);
+ desc->version = xmlGetProp(node, string_version);
+ desc->ver = mkver(desc->version);
+ make_lowercase(desc->ver);
+ desc->idaver = mkidaver(desc->id, desc->ver);
+ desc->width = getpropnum(node, string_width, 0);
+ desc->height = getpropnum(node, string_height, 0);
+ desc->viewmodes = xmlGetProp(node, string_viewmodes);
+ desc->defaultlocale = xmlGetProp(node, string_defaultlocale);