Bug #1698: Automatically trim trailing spaces in NAME attributes