Witam.
Co do atrybutu id
specyfikacja mówi jasno.
Cytat
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
W wolnym tłumaczeniu:
Cytat
ID i NAME musi zaczynać się znakami z zakresu ([A-Za-z]) i może zawierać cyfry ([0-9]) oraz następujące znaki: ("-"),("_"),(":"),(".").