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

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 UTC