W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2005

Re: Versioning of XML Schema and namespaces

From: Eliot Kimber <ekimber@innodata-isogen.com>
Date: Tue, 10 May 2005 10:21:59 -0500
Message-ID: <4280D197.6090505@innodata-isogen.com>
To: Dan Vint <dvint@dvint.com>
CC: John.Hockaday@ga.gov.au, xmlschema-dev@w3.org

Dan Vint wrote:
> I agree with the idea that namespaces could provide this functionality, 
> except that most folks recommend not versioning the namespace. I believe 
> you or someone in this thread suggested using the version attribute for 
> this function. Well that might work if the parsers actually did 
> something with the version attribute. The only mechanism that I can be 
> sure will be caught by the parser is to use the namespace with a version 
> to indicate that the document conforms to a different version of the 
> standard than someone else might be using.

If you're depending on *parsers* to bind instances to schemas then you 
should be using schemaLocation= because clearly you have control over 
that part of the system (the parsers you're using). Put the version 
information in the URI of the XSD instance. I don't see that you can do 
anything other that that.

Putting a version in the namespace is definitely not the right thing to do.

Both Mike Kay and I have have recommended using a separate version 
attribute to indicate the schema version to use. This presumes that you 
have the ability to implement the mechanism that binds documents to 
schemas, which you may not have.

W. Eliot Kimber
Professional Services
Innodata Isogen
9390 Research Blvd, #410
Austin, TX 78759
(512) 372-8155

Received on Tuesday, 10 May 2005 15:21:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:08 UTC