I only use eclipse for php/html web development, I was running Galileo which worked fine except I could not get html5 validation to work. So I upgraded to helios.
html5 validation now works fine:
.html files with or without doctype declaration will validate
HOWEVER
.php files will only validate if the contain a doctype
So the following generates no warnings in a .html file
<!DOCTYPE html>
<html>
<section></section>
OR
<section></section>
But in a .php file
<!DOCTYPE html>
<html>
<section></section>
generates no warnings or errors
<section></section>
generates warning "Unknown tag (section)"
How do i set eclipse up or the project up so that .php files that contain html5 tags will still be validated as html5 doctype ?