Tweaked xml name validation.