If you create a field like this:
[text* myTextField id:myTextField]
Another related error:
if the class and id are the same, it also does not validate!
[text* someField id:myTextField class:myTextField]
Both of these are valid HTML, so they should work.