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

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 UTC