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

Re: Error in validator?

From: Benjamin Niemann <pink@odahoda.de>
Date: Sat, 29 Oct 2005 15:15:33 +0200
To: www-validator@w3.org
Message-ID: <djvsf0$eu$1@sea.gmane.org>

Frank Ellermann wrote:

> 
> Benjamin Niemann wrote:
> 
>> e.g. for an HTML or XHTML FPI the respective URI as defined
>> in the specs.
> 
> Okay, here's an example extracted from xhtml11F.dtd:
> 
> | For example, if you are using XHTML 1.1 directly, use the FPI
> | in the DOCTYPE declaration, with the xmlns attribute on the
> | document element to identify the default namespace:
> |
> |  <?xml version="1.0"?>
> |  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
> 
> If something sees this DOCTYPE and does _not_ know XHTML 1.1
> it's proably lost, because "xhtml11.dtd" is no absolute URL.
> 
> Maybe it's smart and guesses an URL based on the //W3C// part
> of the FPI.  But I doubt it, and besides it won't work for less
> famous organizations...

Another reason why authors should be advised to use only
SYSTEM="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" - anything else
is either a typo or chances are high that the validator does not do what
the author expects.

-- 
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/
Received on Saturday, 29 October 2005 13:15:08 GMT

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