W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2007

Re: Schema for mixed content to provide backwards compatibility for an element with changing from complex type to simple type

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>

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:00 GMT