- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sun, 03 Nov 2002 00:53:05 +0100
- To: www-validator@w3.org
Hi,
<http://www.bjoernsworld.de/temp/whitespace-doctype.html> is:
<!DOCTYPE html PUBLIC "-//W3C//DTD
XHTML
1.0
Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p>...</p>
</body>
</html>
According to XML 1.0 all sequences of white-space in the public
identifier must be reduced to a single space character, thus the above
is equivalent to
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
...
but the validator does not normalize the white-space and thus does not
recognize the document as beeing XHTML 1.0 Strict.
regards.
Received on Saturday, 2 November 2002 18:52:57 UTC