validation for use attributes passed in tag layer