validate-name directive determines that containing '-' (dash string) is invalid.