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

Re: XHTML Family Document Types and the validator

From: Shane McCarron <shane@aptest.com>
Date: Sun, 29 Apr 2007 18:11:10 -0500
Message-ID: <4635260E.6050208@aptest.com>
To: Karl Dubost <karl@w3.org>
CC: www-validator@w3.org

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.

Karl Dubost wrote:
>
> Le 30 avr. 2007 à 07:34, Shane McCarron a écrit :
>> 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.
>
> Even for those (xhtml 1.0) sent with text/html? Just trying to figure 
> out what would be the steps in the flow of processing.
>
> Hmm I guess a diagram would help here. A volunteer?
> Or if olivier gives me the steps that the validator follows now, I 
> could sketch up a diagram and we may have a better picture of how it 
> could work and if it should be modified or not.
>
>

-- 
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 23:11:26 GMT

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