Simple node attribute validation