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

Re: another doubt on validator ...

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 18 Oct 2005 18:01:45 +1000
Message-ID: <4354ABE9.8010603@lachy.id.au>
To: Livio Mondini <livio.mondini@tiuvizeta.it>
CC: www-validator@w3.org

Livio Mondini wrote:
> David Håsäther wrote:
>> Actually, looking further at this, the FPI is unknown due to an
>> extraneous space:
>> 
>>   -//W3C//DTD XHTML 1.1 //EN
>> 
>> Since it is unknown, the validator will use the system id instead.
> 
> Yes David, but validator respond *big and in green*:
>  
> This Page Is Valid -//W3C//DTD XHTML 1.1 //EN!
> This is a problem, i think. 

Since the validator doesn't actually recognise the FPI in this case, it 
does validate against the the DTD referenced by the SI.  In which case, 
the document is valid if complies with the rules in that DTD (HTML4 in 
this case).  Although it is probably not valid XHTML 1.1, the validator 
does not know that it should use XML mode, nor that the author probably 
intended that FPI to refer to XHTML 1.1.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Tuesday, 18 October 2005 08:01:56 GMT

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