disallow empty string for NameAttribute (#3711)

2 files changed