6 users online. Create an account or sign in to join them.Users

Search

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:

The detected DOCTYPE Declaration "" has been suppressed and the DOCTYPE for "HTML5" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE.

Am I missing something that you others know in this matter?

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.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details