//updateValidators(file);
Iterator<String> validators = tag.getValidators().iterator();
while (validators.hasNext()) {
String validatorClassName = validators.next();
TMLTagValidator validator = _allValidators.get(validatorClassName);
if (validator != null) {
try {
validator.setVersionCompliance(versionCompliance);
validator.validateAndMark(file, document, partition, tmlInfo, tag);
} catch (Exception e) {
Plugin.getDefault().getLog().log(new Status(Status.ERROR, Plugin.PLUGIN_ID, "Execution of tag validator '" + validatorClassName + "' failed.", e));
}
}
}