+ AttributePtr anAttr = aData->attribute(*it);
+ if (!aValidators->isCase(theFeature, anAttr->id()))
+ continue; // this attribute is not participated in the current case
+ if (!anAttr->isInitialized()) { // attribute is not initialized
+ std::map<std::string, std::set<std::string> >::const_iterator aFeatureFind =
+ myNotObligatory.find(theFeature->getKind());
+ if (aFeatureFind == myNotObligatory.end() || // and it is obligatory for filling
+ aFeatureFind->second.find(*it) == aFeatureFind->second.end()) {
+ theError = "Attribute \"" + anAttr->id() + "\" is not initialized.";
+ return false;
+ }
+ }