validate single tag should use TYPEDEF