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

XHTML Family Document Types and the validator

From: Shane McCarron <shane@aptest.com>
Date: Tue, 24 Apr 2007 08:16:26 -0500
Message-ID: <462E032A.1050508@aptest.com>
To: www-validator@w3.org

Just a thought...  According to XHTML Modularization [1], all XHTML 
Family Document Types *must* have a DOCTYPE with an FPI that matches a 
certain pattern.  Given this requirement, would it be reasonable to 
teach the validator that, at least by default, the parsing rules for 
documents that have a DOCTYPE that matches that pattern be "XML"? 

For example:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" 
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">

matches the pattern.  The validator already does DOCTYPE sniffing, so 
this doesn't seem objectionable.  Does it?

[1] 
http://www.w3.org/TR/xhtml-modularization/conformance.html#s_conform_naming_rules

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Tuesday, 24 April 2007 13:16:56 GMT

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