Aptana Studio 3 - Warnings when using data-role Tags of HTML 5

bernhardh picture bernhardh · Oct 21, 2011 · Viewed 12.1k times · Source

I want to use Aptana Studio 3 for developing jquery-mobile projects. Since jquery-mobile uses HTML5 I have to use tag attributes like "data-role="header" which is OK for HTML5.

For example:

<div data-role="header"></div>

But Aptana gives me warnings like:

unknown attribute "data-role"

How can I fix this, or is it an Aptana Studio 3 bug?

Answer

Raghav picture Raghav · Mar 19, 2013

I performed below and it resolved the problem.

In Preferences > Aptana Studio > Validation > HTML Tidy Validator > Attributes >> Proprietary attributes --> ignore