— 21 November 2005 —

Getting to Valid XHTML – Um, Help?

If my site has one or two minor validation errors, I usually don’t get too bent out of shape over it. But as of this writing I have 32 errors, all (I think) being driven by error number one:

Error Line 1 column 54: invalid formal public identifier “-//W3C/DTD XHTML 1.0 Strict//EN”: no SPACE after public text class. <!DOCTYPE html PUBLIC “-//W3C/DTD XHTML 1.0 Strict//EN ”

The odd thing is, when I look at the code of this page, there is no space!

<!DOCTYPE html PUBLIC “-//W3C/DTD XHTML 1.0 Strict//EN”

“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>

<html lang=”en” xml:lang=”en” dir=”ltr”>

Can anyone help me out here? It’s probably something small I am missing.

2 Responses to Getting to Valid XHTML – Um, Help?