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

schema versioning and RDDL

  • To: xml-dev@l...
  • Subject: schema versioning and RDDL
  • From: Nikita Ogievetsky <nogievet@c...>
  • Date: Sun, 02 May 2004 15:50:46 -0700
  • In-reply-to:
  • Thread-index: AcQwfmz9VzY6ZeAQRHebnEZ8DNh84QAGKETA

rddl versioning
Dear All,

I started to look at the applications of using namespace URI for schema
versioning [1], [2] and RDDL [3]; and was wondering if anybody can give
any thoughts (or had already given) to the pros and cons of this approach.

The idea is to use "#" separator for namespace versioning
(not "/" as proposed in the referenced resources), i.g:

<myObj xmlns="http://www.cogx.com/myObject#v1.0">
  <myProp1 value="x">
</myObj>
<myObj xmlns="http://www.cogx.com/myObject#v1.2">
  <myProp1 value="x">
  <myProp2 href="http://www. cogx.com">
</myObj>

Than an RDDL document at the http://www.cogx.com/myObject location can
contain the following RDDL resource elements
with ids "v1.0" and "v1.2" correspondingly:

<xhtml xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:xlink="http://www.w3.org/1999/xlink"
      xmlns:rddl="http://www.rddl.org/">
 <head>
 <title>RDDL Resources for myObject </title>
 </head>
 <body>
  <h1>RDDL Resources for myObject</h1>
  <p>
  Here we are describing myObject, 
  How it came about, 
  Its relationships to other objects,
  its history, details,
  and other related information 
  that can be useful for modelers and developers.
  </p>
  ...
  <rddl:resource
   id="v1.0"
   xlink:href="http://www.cogx.com/myobject/myobject20040401.xsd"
   xlink:title="Version 1.0 of myObject schema, approved on April 1, 2004"
   xlink:role="http://www.w3.org/2000/10/XMLSchema"
   xlink:arcrole="http://www.rddl.org/purposes#schema-validation"
  >
  <rddl:resource
   id="v1.2"
   xlink:href="http://www.cogx.com/myobject/myobject20040421.xsd"
   xlink:title="Version 1.2 of myObject schema, approved on April 21, 2004"
   xlink:role="http://www.w3.org/2000/10/XMLSchema"
   xlink:arcrole="http://www.rddl.org/purposes#schema-validation"
  >
  ...
 </body>
</xhtml>

This way information about all versions of myObject can be collocated in one
RDDL document.

Does it make sense?
--Nikita 

[1] http://lists.xml.org/archives/xml-dev/200103/msg00995.html
[2] http://www-106.ibm.com/developerworks/xml/library/x-tipnamsp.html
[3] http://www.rddl.org


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.