support string_ref
attribute_category tag fallback
ported as-directive