validate application name and version