← Prev in month ← Prev in thread

namespaces, versioning, and backward compatibility

From
Anne Hendry
Date
2011-04-02T19:52:00+00:00
ID
Thread
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
← Prev in month ← Prev in thread