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

Re: Changing Namespaces Between Specification Versions (was: XI

  • From: "Pete Cordell" <petexmldev@c...>
  • To: "Michael Kay" <mike@s...>,"'Paul Spencer'" <xml-dev-list@b...>,"'xml-dev'" <xml-dev@l...>
  • Date: Wed, 22 Apr 2009 11:08:14 +0100

Re: Changing Namespaces Between Specification Versions (was: XI
I concur with Michael's observation, but I don't think a version attribute 
alone is sufficient for good versioning.  My experience is that a versioning 
strategy doesn't happen by chance, and it needs to be thought about when 
version 1 is being developed; something that doesn't always happen.

I prefer something like a 'require' attribute in the root element that 
contains a list of constants (or URIs) of what a receiving node must 
understand in order to process a message.  For example the attribute may be 
something like require="foo bar baz".  It keeps all the feature negotiation 
in one place, and makes it easy for the receiving node to report back that, 
for example, it does not understand 'bar'.

(I know this wasn't the question, but since versioning seems to be so badly 
catered for I thought a little extra on it in web-o-sphere wouldn't hurt!)

Regards,

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ for more info

----- Original Message ----- 
From: "Michael Kay" <mike@s...>
To: "'Paul Spencer'" <xml-dev-list@b...>; "'Liam Quin'" 
<liam@w...>; "'xml-dev'" <xml-dev@l...>
Sent: Tuesday, April 21, 2009 2:20 PM
Subject: RE: Changing Namespaces Between Specification Versions 
(was: XIN: XML implicit namespace definitions)


>
>> Many people do change namespaces between versions. I prefer
>> not to, but have been persuaded to allow it in the past,
>> where the argument has been that the meaning of a name has
>> changed, so the namespace should change as well.
>>
>> Michael, what are your reasons for not doing this?
>>
>
> You want to design things so that transition from one version to the next 
> is
> as smooth as possible. Changing the names of 1000 elements because one of
> them has changed its meaning ever so slightly is not a good tradeoff -
> everyone who has written code to access the other 999 elements is going to
> have to change their code. A version attribute is so much less disruptive.
>
> Michael Kay
> http://www.saxonica.com/
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l...
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
> 




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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.