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 |
Jump to:
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
Marked http://drupal.org/node/195195 as a duplicate of this (at least it seems like it is...
#2
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
Oh, and I am glad you like it. :)
#4
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
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.