def validate_tag_attribute_value(tag, value):
    """Validates whether the given value is a string or not."""
    if not value:
        return
    if not isinstance(value, str):
        raise ValueError('<{tag}>: {value} should be a string'.format(tag=
            tag, value=value))
