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

Re: Namespaces best practice: managing dialect evolution --


best practice managing by leading
From: "Ian Graham" <igraham@i...>
 
> 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?

I think in the long run the best approach would be

 1) The Namespaces spec is updated to include some minor
version number up date (i.e. indicating that there may
be some minor difference in schema without changing
the general semantics of the element) which friendly 
processors would then ignore. 

  The definition of minor would have to be nutted out:
it would have to be something like that
  - no required information items are removed
  - the relative sequence of required items is
    not altered.
  - the general semantics have not changed
I think the XML Schemas "suffixation" idea idea
would be stronger than needed.  If developers knew
that a content model could evolve in certain
ways such that, between variants, the content
model was open w.r.t. non-required elements,
we would have a measure of future-proofing. 

  XML Schemas supports a lot of wildcarding,
substitution and derivation which can help 
managed versions.  But if you tightly control
your content models now, you make it more
difficult to handle version changes later.


2) Schema languages need to build the idea
of variants in. Change should not be a surprise
to anyone.  The only schema languages
with variant support currently AFAIK
is Schematron's phase mechanism
and, to a lesser extent, DTDs (with 
INCLUDE/IGNORE)

Being able to identify versions (using URLs
or namespaces with minor numbers) and being
able to represent variants within a schema
(e.g. Schematron's phases) would provide
useful primitives for schema management.

Cheers
Rick Jelliffe


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.