Validate attribute syntax before updating index.
Updated name syntax yacc.