W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: Versioning re-visited (was : mixed signals on "Writing HTML documents", tutorial, etc.)

From: Jirka Kosek <jirka@kosek.cz>
Date: Thu, 21 Jun 2007 18:25:22 +0200
Message-ID: <467AA672.2020706@kosek.cz>
To: "Philip Taylor (Webmaster)" <P.Taylor@Rhul.Ac.Uk>
CC: Ian Hickson <ian@hixie.ch>, Philip & Le Khanh <Philip-and-LeKhanh@Royal-Tunbridge-Wells.Org>, www-archive@w3.org, HTML Working Group <public-html@w3.org>
Philip Taylor (Webmaster) wrote:

> The goalposts are fixed, for perpetuity.  A valid document
> will remain valid, an invalid document will remain invalid,
> and a validator will never give different answers concerning
> a particular instantiation of a document.  Furthermore,
> a user agent can -- <em>if it so chooses</em> -- make use
> of the DOCTYPE in order to vary its parsing, rendering and
> so on.  By providing versioning information in the DOCTYPE,

While I think that having version information in the instance is very
useful, please abandon idea of using DOCTYPE for storing version number.
There are many arguments for not using DOCTYPE, many of them were also
posted on this list. From top of my head these are:

1. DOCTYPE information is not exposed in many XML APIs, you can't access
it in majority of XML tools

2. DOCTYPE is tightly related to DTDs. But version of language and
schema/DTD are two very different things. Today, DTD is legacy schema
language which has many problems compared to the newer schema languages
like RELAX NG or W3C XML Schema.

Storing version information in and attribute or element doesn't have
such problems.

				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
------------------------------------------------------------------
Be in, register for XML Prague 2007 today! http://www.xmlprague.cz


Received on Thursday, 21 June 2007 16:25:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:45 UTC