Syntax validation