Re: Error in validator?

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 UTC