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

Re: [Summary] Backward and forward compatible schemas ... Re

  • From: noah_mendelsohn@u...
  • To: "Costello, Roger L." <costello@m...>
  • Date: Fri, 24 Aug 2007 12:09:59 -0400

Re:   [Summary] Backward and forward compatible schemas ...  Re
Roger Costello writes:

> <Book>
>     <Title>My Life and Times</Title>
>     <Author>Paul McCartney</Author>
>     <Date>1998</Date>
>     <ISBN>1-56592-235-2</ISBN>
>     <Publisher>McMillan Publishing</Publisher>
>     <Other>
>         <NumPages>345</NumPages>
>         <Other>
>             <Hardcover>true</Hardcover>
>         </Other>
>     </Other>
> </Book>


Yes, and with the changes in Schema 1.1 it will still be possible to do 
this if you want to, or you will be able to write the sort of schema you 
originally proposed, which would validate:

<Book>
    <Title>My Life and Times</Title>
    <Author>Paul McCartney</Author>
    <Date>1998</Date>
    <ISBN>1-56592-235-2</ISBN>
    <Publisher>McMillan Publishing</Publisher>
    <NumPages>345</NumPages>
    <Hardcover>true</Hardcover>
</Book>

Personally, I feel that the nested <other>'s don't scale very well in the 
case where there will be lots of changes.  Perhaps readers of this thread 
will be interested in an analysis I did for the Schema workgroup about 3 
years ago.  It calls out goals like:

* "The same vocabulary may be versioned or fixed repeatedly.  Accordingly, 
the design should be convenient to use even after 20 or 30 such 
revisions."

* "The versioning mechanisms should not presume particular instance 
constructions such as <extension> elements."

There are several more in that spirit. Keep in mind that this was one of 
many inputs to the work we did on Schema 1.1, and is not in all cases 
descriptive of what we decided to do.  I'd point especially to the 
assumptions and rationale section, which I think holds up reasonably well 
as a set of goals and guidelines for approaching the whole "versioning in 
XML business".  It goes on to propose some mechanisms, some of which 
closely map to what we've decided to do Schema 1.1, but some don't. 
Anyway, it's at [1] in case anyone's interested (it's labeled "rough 
draft", but no cleaner version was ever done).

Noah

[1] 
http://lists.w3.org/Archives/Public/www-tag/2004Aug/att-0010/NRMVersioningProposal.html

[1] 
http://lists.w3.org/Archives/Public/www-tag/2004Aug/att-0010/NRMVersioningProposal.html



--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------






[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

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.