+ if (!aStrAttr->isInitialized()) {
+ theError = "Attribute \"" + aStrAttr->id() + "\" is not initialized.";
+ return false;
+ }
+ bool isEmptyExpr = aStrAttr->value().empty();
+ if (isEmptyExpr) {
+ theError = "Attribute \"" + aStrAttr->id() + "\" value is empty.";
+ return false;
+ }