- From: Ian Hickson <ian@hixie.ch>
- Date: Thu, 31 Oct 2002 17:41:55 +0000 (GMT)
- To: Bjoern Hoehrmann <derhoermi@gmx.net>
- Cc: W3C Validator <www-validator@w3.org>
On Thu, 31 Oct 2002, Bjoern Hoehrmann wrote: > * Ian Hickson wrote: >> On Thu, 31 Oct 2002, Bjoern Hoehrmann wrote: >>>>> >>>>> Let me repeat: >>>>> >>>>> if element html has attribute xmlns='http://www.w3.org/1999/xhtml' >>>>> default to XHTML 1.0 Transitional >>>>> else >>>>> default to HTML 4.01 Transitional >> So how would you implement it? > A new start tag handler in preparse(). Which would break with examples such as the two I gave. >>>> Furthermore, the HTML working group has stated that user agents (and >>>> the validator is a user agent) should not attempt to detect XHTML in >>>> text/html documents. >>> >>> You don't suggest to adhere to this statement and thus treat XHTML >>> documents as if they were HTML documents, do you? >> >> That would be ideal, yes. > > That'd make the validator useless for text/html delivered XHTML > documents. There are many reasons why that's a goot thing. http://www.hixie.ch/advocacy/xhtml -- Ian Hickson )\._.,--....,'``. fL "meow" /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 31 October 2002 12:41:57 UTC