W3C home > Mailing lists > Public > www-tag@w3.org > September 2002

Re: How to Version XML Applications

From: Anthony B. Coates <abcoates@TheOffice.net>
Date: Wed, 11 Sep 2002 22:36:32 +0100
Message-Id: <200209112137.RAA27187@tux.w3.org>
To: www-tag <www-tag@w3.org>

** Reply to message from Norman Walsh <Norman.Walsh@Sun.COM> on Wed, 11 Sep
2002 15:46:53 -0400

> / "Anthony B. Coates" <abcoates@TheOffice.net> was heard to say:
> | If that isn't versioned, how to you tell which version is being referred to?  I'm
> | yet to invent or read a solution that I find sufficiently robust and convincing.
> 
> You force the document to be self describing by adding a required
> version attribute or element. If the attribute is present, you know
> the version. If it's missing, the document isn't valid according to
> its schema.

To follow on from a couple of the other replies, the "self-describing" view
currently fails because W3C XML Schema doesn't support it.  The great unwashed
just go by what the Schema spec allows.  If TAG could co-erce the W3C XML Schema
WG into introducing a "schemaVersion" attribute which Schema processors are
required to respect, that would go a long way towards clearing up this problem.
Much as it would be nice to have a less invasive solution, I cannot think of one.
Can anybody else?

	Cheers,
		Tony.
====
Anthony B. Coates, Information & Software Architect
mailto:abcoates@TheOffice.net
MDDL Editor (Market Data Definition Language)
http://www.mddl.org/
Received on Wednesday, 11 September 2002 17:37:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:11 GMT