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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:44 UTC