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

Re: using namespaces to version

  • From: Jonathan Borden <jborden@m...>
  • To: Paul Spencer <paul.spencer@b...>,Tony Coates <Tony.Coates@r...>, Xml-Dev <xml-dev@l...>
  • Date: Thu, 03 May 2001 10:21:26 -0400

Re: using namespaces to version
Paul Spencer wrote:
>
> But now RDDL comes along and gives us something for the namespace to point
> to. This could result in a need to version namespaces so that we can point
> to different RDDL documents. But if we do this, what happens (as David
> Carlisle mentioned) to processing code that uses fully-qualified names
(such
> as code that uses XPath expressions)? I'm just starting to think about
this
> for UK Govt.
>

I think the reasons whether or not to change a namespace URI (i.e. create a
new namespace) when new versions of something come out have been well
addressed. Generally I agree that changes in a namespace vocabulary which
_are not_ backward compatible should be accompanied by a new namespace,
whereas version changes that _are_ backward compatible should use the same
namespace (in order to allow software to continue to recognize the
documents). These are all important design decisions.

RDDL does provide a mechanism to tie versioning of namespace related
schemata to the namespace. One can embed multiple rddl:resources with
natures and purposes that indicate prior versions of the same type of
resource (e.g. XML Schema).

Similarly a RDDL resource might indicate a related namespace URI, perhaps
nature="http://www.rddl.org/" and
purpose="http://www.rddl.org/purposes#prior-version" would indicate a prior
version of a RDDL document/namespace URI , whereas the purpose
http://www.rddl.org/purposes#prior-version with a nature
http://www.w3.org/2001/XMLSchema would indicate a prior version of an XML
Schema in the same namespace.

Does this make sense?

-Jonathan



PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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