- From: Henri Sivonen <hsivonen@iki.fi>
- Date: Tue, 26 May 2009 15:05:44 +0300
- To: public-xhtml2@w3.org
There are other undocumented changes in schemas/DTDs where one might reasonably expect no change. Two things I noticed with a cursory inspection: 1) The XHTML 1.0 DTDs allow the id attribute (but not class, it seems) on elements related to the <head> of the document when HTML 4.01 does not. This means that XHTML 1.0 isn't strictly a reformulation of HTML 4.01 as XML. These changes aren't documented, either, in the section that claims to enumerate changes. 2) The XSD version of XHTML 1.1 seems to lack the legend element. (Note that HTML 4.01 required a <fieldset> to have a <legend>. As far as I can tell, XHTML 1.0 lists no explicit change to this--XML DTDs just cannot express this constraint. Not having the element at all in XSD looks like a bug.) -- Henri Sivonen hsivonen@iki.fi http://hsivonen.iki.fi/
Received on Tuesday, 26 May 2009 12:06:26 UTC