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:
http://validator.w3.org/check?uri=http%3A%2F%2Fhsivonen.iki.fi%2Ftest% 
2Fno-space-between-attributes.xhtml

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

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 3 April 2007 12:16:18 GMT

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