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

Namespaces best practice: managing dialect evolution --


evolution namespaces
Since namespaces associate a name with a language dialect, what is a best
practice for "evolving" that namespace when the language evolves?

One approach is to define a new namespace for an updated version of a
language, and use the namespace identifier as an indirect version
identifier.  This is good, for example, if you want an application to stop
processing if it might not understand the new dialect.

Another approach is to use the same namespace for updated versions. This
is what XHTML 1.1 and (sort of) MathML do. This makes sense in a
loosely-typed model, where you'd rather have the application try
processing the data, even if it doesn't understand all the features of a
newer version.

The former seems appropriate if the change represents a major change in
the language -- so that the semantics of the new verison are not simply
extensions on top of the previous one. COnversely the latter seems
sensible if the changes are simple extensions that make don't invalidiate
previous versions. This conclusion is less clear, however, if the XML
encodes a messaging protocol, since the message syntax may be unchanged in
the 'updated' version, while the overal contract between the two parties
may have been changed in a new specification.

So, there are strengths in both approaches -- but the real world probably
lies in between. Has anyone thought through this issue, and determined a
good strategy to follow?

Ian
--
--
Ian Graham ..........................  http://www.utoronto.ca/ian/
i a n   d o t   g r a h a m    a t    u t o r o n t o   d o t  c a 


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.