6 users online. Create an account or sign in to join them.Users
HTML 5 validation with validator.w3.org
This is an open discussion with 4 replies, filed under General.
Search
The site you're validating is declaring an XHTML doctype not one for HTML5:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Oh my ... Damn I'm stupid ...
Thanks, Nils, for pointing it out. The HTML5 extension was disabled ...
Hmm, the problem still persists due to a conflict between HTML 5 Doctype extension and Cachelite (probably).
As a logged in developer I'm receiving the modified DOCTYPE, but with cache activated the DOCTYPE never gets changed.
Anyone else experienced and / or fixed this?
EDIT (5 mins later):
The problem is that both HTML 5 and Cachelite subscribed to FrontendOutputPostGenerate delegate but Cachelite's callback is executed before HTML 5's callback thus leaving the XHTML DOCTYPE untouched.
I tried to uninstall Cachelite and then reinstall, thinking the delegates are executed in DB ID order, but useless (I think they're executed in alphabetical order from extension names).
Suddenly I feel the need of a custom order for delegate callbacks execution.
The same situation can be found when using Page LHandles and URL Router. Fortunately, U comes later than P :)
I filled an issue regarding the above. I'm sure I read somewhere else about this matter, but can't remember where.
Create an account or sign in to comment.
I'm trying to validate a website for HTML 5 syntax on validator.w3.org.
I'm using the HTML 5 doctype extension and html 5 markup but the validator senses something of "Tentatively" stuff. See result here.
The message:
Am I missing something that you others know in this matter?