W3C home > Mailing lists > Public > www-validator@w3.org > June 2007

Add Subject Here

From: Sined <nightsbird@gmail.com>
Date: Sun, 10 Jun 2007 18:15:59 +0200
Message-ID: <466C23BF.8090505@gmail.com>
To: www-validator@w3.org

Hello,
The doctype in my (X)HTML documents is written in lowercase (but not the 
formal public identifier) :
<!doctype html public "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Thatís a problem with the validator, it canít validate my documents.

At 
<http://lists.w3.org/Archives/Public/www-validator/2002Nov/0099.html>, 
thatís written that we get that error because of the SGML rules.
But at 
<http://www.htmlhelp.com/tools/validator/problems.html.en#doctype-case>, 
thatís written that the quoted string that appears after the PUBLIC 
keyword--is case sensitive (not before).

Now the question is : Must I write the doctype in uppercase or not?
<!doctype html public "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
or
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

If you want to see my website with a doctype in lowercase : 
<http://www.4et3.online.fr/>

I hope someone can help me, thanks and sorry for my English skill, Iím 
French.
Received on Monday, 11 June 2007 06:18:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:24 GMT