doctype declaration causes validation error

peterpoe - October 2, 2007 - 15:28
Project:Hunchbaque
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

The current doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

gives a validation error with content type meta. I changed it from the one in Garland theme, and the page passed the validation test:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Maybe xhtml 1.1 is too STRICT for Drupal?

btw: this is the BEST theme!

#1

greggles - November 28, 2007 - 02:02

Marked http://drupal.org/node/195195 as a duplicate of this (at least it seems like it is...

#2

Zarabadoo - November 28, 2007 - 18:57

Right now I am having trouble replicating the error. Stock Drupal seems to work fine, along with using the nodewords module. How are you getting that specific meta into your site?

#3

Zarabadoo - November 28, 2007 - 20:32
Status:active» active (needs more info)

Oh, and I am glad you like it. :)

#4

NikLP - January 16, 2008 - 10:02

To be honest, I don't think anyone should be using a 1.1 Strict doctype. I'm sure there's a good reason for it, but the memory of that escapes me...

#5

Zarabadoo - February 22, 2008 - 09:01
Status:active (needs more info)» won't fix

My only reasoning is that it is my preference. It is easy enough to change to your liking though since this theme is meant to be used as a canvas. I just give you a few starting points.

 
 

Drupal is a registered trademark of Dries Buytaert.