[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
Re: Versioning of XML Schema and namespaces

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

ekimber@innodata-isogen.com
www.innodata-isogen.com
Received on Tuesday, 10 May 2005 15:21:12 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.