{
final AttributeMetaData attrMetaData =
element.getMetaData().getAttributeDescription(attributeNamespace, attributeName);
if (attrMetaData == null)
{
resultHandler.notifyInspectionResult(new InspectionResult(this, InspectionResult.Severity.WARNING,
Messages.getString("InvalidFormatInspection.AttributeExpressionInvalidFormatNoMetaData",
element.getName(), attributeNamespace, attributeName, fmtString, metaData.getDisplayName(Locale.getDefault())),
new AttributeExpressionPropertyLocationInfo(element, attributeNamespace, attributeName, metaData.getName())));
}
else
{
resultHandler.notifyInspectionResult(new InspectionResult(this, InspectionResult.Severity.WARNING,
Messages.getString("InvalidFormatInspection.AttributeExpressionInvalidFormat",
element.getName(), attrMetaData.getDisplayName(Locale.getDefault()), fmtString, metaData.getDisplayName(Locale.getDefault())),
new AttributeExpressionPropertyLocationInfo(element, attributeNamespace, attributeName, metaData.getName())));
}