exempt ele-1 from constraint consistency checking
This commit is contained in:
parent
4b07f4f7dc
commit
ec8e999162
|
@ -575,7 +575,7 @@ public class ValidationEngine implements IValidatorResourceFetcher, IValidationP
|
|||
}
|
||||
if (!found) {
|
||||
return null;
|
||||
} else if (!first) {
|
||||
} else if (!first && delay != 0) {
|
||||
Thread.sleep(delay);
|
||||
}
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ public class ValidatorUtils {
|
|||
SourceFile src = addSourceFile(refs, file.getPath());
|
||||
Long l = file.lastModified();
|
||||
if (src.date != l) {
|
||||
src.process = true;
|
||||
src.setProcess(true);
|
||||
}
|
||||
src.date = l;
|
||||
return src;
|
||||
|
|
|
@ -487,7 +487,7 @@ public class StructureDefinitionValidator extends BaseValidator {
|
|||
if (hint(errors, "2023-06-19", IssueType.INFORMATIONAL, stack, !Utilities.noString(expression), I18nConstants.ED_INVARIANT_NO_EXPRESSION, key)) {
|
||||
if (invariantMap.containsKey(key)) {
|
||||
// it's legal - and common - for a list of elemnts to contain the same invariant more than once, but it's not valid if it's not always the same
|
||||
ok = rule(errors, "2023-06-19", IssueType.INVALID, stack, expression.equals(invariantMap.get(key)), I18nConstants.ED_INVARIANT_EXPRESSION_CONFLICT, key, expression, invariantMap.get(key));
|
||||
ok = rule(errors, "2023-06-19", IssueType.INVALID, stack, expression.equals(invariantMap.get(key)) || "ele-1".equals(key), I18nConstants.ED_INVARIANT_EXPRESSION_CONFLICT, key, expression, invariantMap.get(key));
|
||||
} else {
|
||||
invariantMap.put(key, expression);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue