I use Eclipse and I write jsp files with HTML5 content. So I have for example this line:
I
Your doctype
is for HTML 4.01.
data-* attributes were added in HTML 5. The doctype for HTML 5 is basically either
or