Restrict attribute value types.

An attribute key - prepended hyphen - must have a value that is string,
numeric or boolean type.