[whatwg] A few questions on HTML5

2012-01-03 12:45, Bronislav Klu?ka wrote:

> On 3.1.2012 10:32, Mani wrote:
[?]
>> 2. Will XHTML5 have a DTD, because XHTML5 must be well-formed?
> http://www.w3.org/TR/html5/the-xhtml-syntax.html#writing-xhtml-documents
> http://wiki.whatwg.org/wiki/HTML_vs._XHTML

To find an answer to the question that was asked, one needs to read 
quite a lot between the lines in the cited documents. The answer appears 
to be ?No, XHTML5 won?t have a DTD, since you?re supposed to use a 
validator specifically written for HTML5.?

Allowing XHTML 1.0 and XHTML 1.1 DOCTYPEs as ?obsolete but conforming? 
and not saying a word about any DTD that sovers any of the HTML5 
novelties looks like a clear indication of intent.

Well-formedness requirement does not imply the need for a DTD at all. Au 
contraire, ?well-formed? is just a confusing term for conformance to 
generic XML rules (?well-formed XML? really means nothing but ?XML?), as 
opposite to any rules in a DTD for example.

This appears to mean that when XHTML5 is used together with other XML 
tag sets, you cannot use a DTD-based validator just by adding the 
declarations for the other tags into an XHTML5 DTD. So the question 
really is: will someone want to validate, say, XHTML5 + MathML documents?

Yucca

Received on Tuesday, 3 January 2012 03:07:00 UTC