W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2012

[whatwg] A few questions on HTML5

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 03 Jan 2012 13:07:00 +0200
Message-ID: <4F02E154.6030308@cs.tut.fi>
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?

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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:10 UTC