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

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

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 3 Apr 2007 15:16:08 +0300
Message-Id: <74B299CF-66DE-4C37-978C-47624B0EC8CA@iki.fi>
Cc: www-html@w3.org
To: David Woolley <forums@david-woolley.me.uk>

On Apr 3, 2007, at 09:28, David Woolley wrote:

> XHTML processors are allowed to fix up invalid documents.

DTDless XHTML documents are not valid as far as XML 1.0 terminology  
goes, but it doesn't follow that a DTDless document needs fixing.

> 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.

Not so easy:

If you want to check for well-formedness, you need an XML processor  
as defined in the XML 1.0 spec.

Henri Sivonen
Received on Tuesday, 3 April 2007 12:16:18 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:21:02 UTC