- string created_with = "(unknown)";
- XMLNode *pv = tree.root()->child("ProgramVersion");
- if (pv != 0) {
- pv->get_property (X_("created-with"), created_with);
- }
-
- string description = "No Description";
- XMLNode *desc = tree.root()->child("description");
- if (desc != 0) {
- description = desc->attribute_value();
- }
-
- rti.created_with = created_with;
- rti.description = description;
-
+ XMLNode* root = tree.root();
+
+ rti.modified_with = _("(unknown)");
+ try {
+ XMLNode *pv = root->child("ProgramVersion");
+ string modified_with;
+ if (pv != 0) {
+ pv->get_property (X_("modified-with"), modified_with);
+ }
+ rti.modified_with = modified_with;
+ } catch (XMLException &e) {}
+
+ rti.description = _("No Description");
+ try {
+ XMLNode *desc = root->child("description");
+ if (desc != 0) {
+ rti.description = desc->attribute_value();
+ }
+ } catch (XMLException &e) {}