W3C home > Mailing lists > Public > public-html@w3.org > January 2009

Re: ISSUE-54: doctype-legacy-compat

From: Jirka Kosek <jirka@kosek.cz>
Date: Tue, 20 Jan 2009 13:03:43 +0100
Message-ID: <4975BD9F.8050503@kosek.cz>
To: Philip TAYLOR <chaa006@gmail.com>
CC: Sam Ruby <rubys@us.ibm.com>, HTML WG <public-html@w3.org>
Philip TAYLOR wrote:

> fail to address this (IMHO, fundamental) deficiency, and
> I therefore propose that the HTML 5 DOCTYPE should include,
> /at the very least/ the major (5) and minor (initially 0)
> elements of its version number.  I do not know which keywords
> could legitimately replace "about" in the last example above,
> but a DOCTYPE along the lines of :
> 
>     <!DOCTYPE html SYSTEM "V:5.0">
> 
>         or
> 
>     <!DOCTYPE html SYSTEM "version:5.0">
> 
> would address all of my concerns on this issue.

Giving completely aside question whether version information should or
shouldn't be included it is very bad idea to include it in DOCTYPE. The
version number should be encoded in both XML and HTML serializations in
the same way. But information from DOCTYPE is not a part of many XML
data models and XML APIs and is thus not easily accessible without
resorting to custom parsers.

So, if there should be version specified, then it should definitively
live in attribute or element value, probably version attribute would be
the best choice then.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------


Received on Tuesday, 20 January 2009 13:42:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:28 GMT