OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

emix message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [emix] namespaces, versioning, and backward compatibility


Hello, Anne: 

I think this is a great idea.  I always hate invoking hindsight in a
bandage manner; this is forward thinking.  The "version" attribute isa
part of "xs:schema" so I think we should use it (it's free and easy). 

Cheers, 
- Jeremy 



-----Original Message-----
From: Anne Hendry [mailto:ahendry@pacbell.net] 
Sent: Saturday, April 02, 2011 3:51 PM
To: emix@lists.oasis-open.org
Subject: [emix] namespaces, versioning, and backward compatibility

I recall a discussion recently on versioning and backward 
compatibility.  I'd like to propose we use a major/minor versioning 
scheme such that the major version is captured in the namespace but the 
minor version is captured in the schema element 'version' attribute.  
So, for instance, the current schema element declaration:

<xs:schema targetNamespace="http://docs.oasis-open.org/ns/emix"; 
elementFormDefault="qualified" attributeFormDefault="unqualified">

would become

<xs:schema targetNamespace="http://docs.oasis-open.org/ns/emix-1"; 
elementFormDefault="qualified" attributeFormDefault="unqualified" 
version="1.0">

This would allow for minor versions to be created/released without 
changing the namespace, maintaining backward compatibility across minor 
versions (as long as no other changes were made that broke
compatibility).

-Anne




---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]