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

Re: Schema for mixed content to provide backwards compatibility for an element with changing

From: Boris Kolpackov <boris@codesynthesis.com>
Date: Sun, 2 Sep 2007 19:52:09 +0200
To: William S Fulton <wsf@fultondesigns.co.uk>
Cc: xmlschema-dev@w3.org
Message-ID: <20070902175209.GC31139@karelia>
Re: Schema for mixed content to provide backwards compatibility for an  element with changing

Hi William,

William S Fulton <wsf@fultondesigns.co.uk> writes:

> Is it possible to create a schema which will fully validate both
> versions of the date element?

Not in XML Schema. You can use the mixed content and do some extra
checks in the application. Or you can use a new element names for
the new date format.

Boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding
Received on Sunday, 2 September 2007 17:58:02 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.