Re: [xml-dev] XML Schema: Extension and Restriction from a Mixed Complex Type Base Type

From
Rick Jelliffe <>
To
XML Developers List <>
Date
2008-07-25T11:42:03Z
ID
<>
Thread
Re: [xml-dev] XML Schema: Extension and Restriction from a Mixed Complex Type Base Type
George Cristian Bina wrote:
> Hi Paul,
>
> Xerces follows the rules specified in the XML Schema 1.0 specification 
> and in your case there is clearly no complete mapping from
>
> <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
>
> to
>
> <xs:element name="a" type="xs:date"/>
> <xs:element name="b" type="xs:date" minOccurs="0"/>

Once again type derivation proves itself unsatisfactory when applied to 
complex types. It sounded a good idea at the time. 

Yours Predictably
Rick Jelliffe