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

Re: [XHTML1.1] Error in Conformance Definition document?

From: David Woolley <forums@david-woolley.me.uk>
Date: Tue, 03 Apr 2007 07:28:48 +0100
Message-ID: <4611F420.2020102@david-woolley.me.uk>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:09 GMT