- From: Shane McCarron <shane@aptest.com>
- Date: Sun, 29 Apr 2007 17:34:27 -0500
- To: Karl Dubost <karl@w3.org>
- CC: www-validator@w3.org
Karl Dubost wrote: > > > Le 24 avr. 2007 à 22:16, Shane McCarron a écrit : >> 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"? > > It seems difficult given this > > XHTML 1.0 > "-//W3C//DTD XHTML 1.0 Strict//EN" > text/html or application/xhtml+xml > XHTML 1.1 > "-//W3C//DTD XHTML 1.1//EN" > application/xhtml+xml > XHTML+RDFa > "-//W3C//DTD XHTML+RDFa 1.0//EN" > application/xhtml+xml > > and the Naming Rules. > the rule 3 seems unclear too as it seems to impose a MySomething. > > So the rule 3 says after XHTML, to have a clear identifier > > " 1.0 Strict" > " 1.1" > "+RDFa 1.0" > > I'm not sure it is possible to code that. :/ You don't need to code for the part AFTER the XHTML string, just the part before. If it starts with DTD XHTML it is by definition an XHTML family markup language and therefore should be parsed as XML. -- Shane P. McCarron Phone: +1 763 786-8160 x120 Managing Director Fax: +1 763 786-8180 ApTest Minnesota Inet: shane@aptest.com
Received on Sunday, 29 April 2007 22:34:53 UTC