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

Re: XSD versioning ...

From: George Cristian Bina <george@oxygenxml.com>
Date: Fri, 11 Jul 2008 17:36:26 +0300
Message-ID: <48776FEA.2010802@oxygenxml.com>
To: Dragon Fly <dragon-fly999@hotmail.com>
Cc: xmlschema-dev@w3.org
Re: XSD versioning ...

Hi,

Let your customer choose the version he wants. If he did not yet 
upgraded to version 2 then he should receive version 1 documents that do 
not contain the new element. When he is ready to process version 2 
documents then he should be able to choose version 2 and receive further 
version 2 documents.

Hope that helps,
George
-- 
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Dragon Fly wrote:
> What is the best way to handle XSD versioning? Let's say I have the 
> following scenario ...
> 
> - Version 1 of the XSD is given to a customer.
> - The customer writes a parsing program (that performs validation 
> against V1).
> 
> 3 months later ...
> 
> - A new element is added to version 2 of the XSD.
> - The new XML files sent to the customer have the new element.
> - The new XML files fail validations because version 1 of the XSD does 
> not have the new element.
> 
> Is there anything that I can do to plan for this? Thank you.
> 
> ------------------------------------------------------------------------
> It’s a talkathon – but it’s not just talk. Check out the i’m Talkathon. 
> <http://www.imtalkathon.com/?source=EML_WLH_Talkathon_JustTalk>
Received on Friday, 11 July 2008 14:37:04 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
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.