- From: David Woolley <forums@david-woolley.me.uk>
- Date: Tue, 03 Apr 2007 07:28:48 +0100
- To: www-html@w3.org
Shane McCarron wrote: > It absolutely was, and is. Note that XHTML (all versions) *requires* > that documents are valid. If a document is not valid, it is NOT XHTML. > XHTML processors are allowed to fix up invalid documents. It is only not-well-formed ones that they must reject. (Invalid HTML documents are also bad documents, but early parsers parsed them in a lazy way, and there is a commerical imperative to auto-correct author mistakes better than the competitor.) Basically, if well-formed-ness is the author's concern, they should simply validate against an HTML DTD with all the O for optionals in the the DTD changed into "-"s.
Received on Tuesday, 3 April 2007 06:28:53 UTC