W3C home > Mailing lists > Public > www-validator@w3.org > November 2002

Beta: White-space in public identifier

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 03 Nov 2002 00:53:05 +0100
To: www-validator@w3.org
Message-ID: <3e1b6486.537473486@smtp.bjoern.hoehrmann.de>

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 GMT

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