Reject invalid user attributes on assignment

Invalid user attributes cause XML that the server cannot process, so they should be rejected on assignment, in addition to the warning that is already provided.
Merge pull request #212 from cgunther/exclude-invalid-user-attributes

Reject invalid user attributes on assignment