title: Warnings of valid HTML5 attributes in Eclipse
body: <p>I use Eclipse and I write jsp files with HTML5 content.
  So I have for example this line:</p>
  <pre><code>&lt;div class=&quot;test&quot; data-role=&quot;test123&quot;&gt;
  </code></pre>
  <p>In Eclipse I get the warning:</p>
  <blockquote>
  <pre><code>Undefined attribute name (data-role)
  </code></pre>
  </blockquote>
  <p>What needed to be done so these warnings won't appear anymore? In HTML5 this attribute is allowed (<code>data-*</code>) as you can see here: <a href="http://ejohn.org/blog/html-5-data-attributes/" rel="nofollow noreferrer">http://ejohn.org/blog/html-5-data-attributes/</a></p>