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

Beta: XML caveats disappeared

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 23 Oct 2002 14:09:00 +0200
To: www-validator@w3.org
Message-ID: <3dd28fdb.75033602@smtp.bjoern.hoehrmann.de>

Hi,

  http://www.bjoernsworld.de/temp/chars-before-xmldecl.html is 

  [...]

  <?xml version='1.0' encoding='iso-8859-1'?>
  <!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>
  [...]

That's an invalid XHTML 1.0 Strict document (note the CRLF preceding the
XML declaration). Now the HTML Validator

  http://validator.w3.org:8001/check?uri=http%3A%2F%2Fwww.bjoernsworld.de%2Ftemp%2Fchars-before-xmldecl.html

says it's valid. That's bad. The Site Valet XML Validator finds the
error

  http://valet.webthing.com:8000/xmltest/val.so?url=http%3A%2F%2Fwww.bjoernsworld.de%2Ftemp%2Fchars-before-xmldecl.html

In the good old days the validator confessed it's limited XML support by
pointing at http://www.jclark.com/sp/xml.htm IIRC. Since the XML support
is obviously not any better than before, the not should be reassembled.

regards.
Received on Wednesday, 23 October 2002 08:08:25 GMT

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