if (!tmlInfo.isTagKnown(_versionCompliance)) {
int charStart = partition.getOffset();
int charEnd = charStart + partition.getLength();
MarkerFactory.createErrorMarker(MARKER_ID, file, charStart, charEnd, "Unknown TML-Tag '" + tmlInfo.getTagName() + "'.");
} else {
TMLTagDefinitions tagDef = TMLTagDefinitions.getInstance(_versionCompliance);
if (tagDef != null) {
TMLTag tag = tagDef.getTagByName(tmlInfo.getTagName());
if (tag.isDeprecated()) {
int charStart = partition.getOffset();
int charEnd = charStart + partition.getLength();
MarkerFactory.createWarningMarker(MARKER_ID, file, charStart, charEnd, "TML-Tag '" + tmlInfo.getTagName() + "' is deprecated. " + tag.getDeprecated());
}