W3C home > Mailing lists > Public > www-validator@w3.org > April 2007

Re: XHTML Family Document Types and the validator

From: olivier Thereaux <ot@w3.org>
Date: Mon, 30 Apr 2007 11:59:03 -0400
Message-Id: <6925EFE9-5B10-484C-AB72-4B9CA5232C81@w3.org>
Cc: Karl Dubost <karl@w3.org>, www-validator@w3.org
To: Shane McCarron <shane@aptest.com>


On Apr 29, 2007, at 19:11 , Shane McCarron wrote:
> All XHTML family docment types should be processed using the XML  
> parsing mode of the validator.  There is never a case where the  
> SGML parsing mode would work, since all the DTDs are XML DTDs, not  
> SGML DTDs.

I'm really glad to read this. A long time ago, I was made rather  
confused by
http://lists.w3.org/Archives/Public/www-html/2000Sep/0024.html
and the following claims made by some in e.g
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1500
that it meant the validator should not use its XML parsing mode to  
process XHTML 1.0 when served as text/html.

This left me extremely puzzled for a long time because:
* I never found any definition of "treat as HTML", nor any indication  
it was relevant to conformance checking/validation
* the SGML parsing mode would not work with the XML DTDs, anyway.

So your clarification is extremely valuable, thank you.

-- 
olivier
Received on Monday, 30 April 2007 15:59:03 GMT

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