Re: Versioning information

Laurens Holst wrote:

> Adding a version="1.0", "2.0" attribute is relatively pointless. In
> fact, it will make it harder to implement, because instead of tying in
> different processing models to different namespaces, you then have to
> tie two different processing models into one namespace,

This is not true for HTML/XHTML. There are dozen of HTML variants --
Strict, Transitional, Frameset, 1.1, Print, Basic, MySubsettedHTML, ...
and all of them share single processing model so they reside in a single
namespace. However sometimes you want to make distinction between them
(for example when you edit strict document you probably do not want to
turn it into transitional document, so intelligent editor should disable
transitional elements) and version="..." is very useful for this.

I think that widely adopted best-practice is to change namespace when
processing model/semantic changes.

				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
------------------------------------------------------------------
 Want to speak at XML Prague 2007 => http://xmlprague.cz/cfp.html

Received on Saturday, 31 March 2007 10:23:21 UTC