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

Re: validator does NOT validate XHTML 1.0

From: Christoph Schneegans <Christoph@Schneegans.de>
Date: Mon, 19 Aug 2002 14:40:53 GMT
To: <www-validator@w3.org>
Cc: "Devon Y." <vehementpetal@hotmail.com>, "Thanasis Kinias" <tkinias@optimalco.com>
Message-ID: <ajr72l.3vva7t7.1@mail.christoph.schneegans.de>

Thanasis Kinias wrote:

> scripsit Devon Y.:

>> Since the Recommendation clearly says the document must have the 
>> namespace in it -  if a document doesn't, then it is not a valid document, 
>> right?

No, it can be valid. However, it is not "strictly conforming" then, see
<http://www.w3.org/TR/xhtml1/#strict>.

>> I would think that if a #FIXED attribute in a DTD was equal to the
>> attribute being in the doc itself, that Opera & Mozilla would still
>> display the page as any XHTML 1.0 doc w/ namespace directly in it,
>> would be displayed.

Neither Opera nor Mozilla use validating parsers, i.e. they don't read the
DTD.

> That's _bizarre_, and very broken behaviour if the browsers do that.

Of course, the statement above is true only if the document is declared with
a MIME type such as "application/xhtml+xml", and this behaviour makes sense
in that case.


Regards,
Christoph Schneegans

-- 
<http://schneegans.de/>
Received on Monday, 19 August 2002 10:39:57 GMT

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