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

Re: validator does NOT validate XHTML 1.0

From: Devon Y. <vehementpetal@hotmail.com>
Date: Mon, 19 Aug 2002 04:47:23 -0400 (EDT)
To: www-validator@w3.org
Message-ID: <F2339KZMNSHFLwvyWNq00015ef3@hotmail.com>
Someone replied to my point, but offlist, so I'm sending their point and my 
reply/question to it, to everyone here on the list.

-- Brant Langer Gurganus wrote:
>Actually, I believe it does validate because it is automatic via
>the DTD file:

><!ATTLIST html
>  %i18n;
>  id          ID             #IMPLIED
>  xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'
>  >

>As you can see, the DTD tells that it is a fixed attribute.  If
>the system reference was not in the DOCTYPE declaration, it would
>be invalid.

Thank you for answering that. Now I'm confused though. 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? Or does 
including it in the DTD as a #FIXED attribute, equal to it actually being in 
the document?

I wouldn't think so, because leaving the namespace out of the doc directly, 
makes it unusable in Opera 6.04 and Mozilla 1.1a (appears like all inline 
style-less text & no images). 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.


Join the world’s largest e-mail service with MSN Hotmail. 

Received on Monday, 19 August 2002 05:02:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:29 UTC