Re: final and derivation by list or union.

Hi, Thanks for your clearly explanation and exmaple.

But I have some confusion yet, please suggest me.

Likes as "Schema Component Constraint: Simple Type Definition Properties
Correct", the "Schema Component Constraint: Derivation Valid (Restriction, Simple) "
says :

2 If the {variety} is list, then all of the following must be true:
  2.3 If the {base type definition} is not the ?simple ur-type definition?, 
      then all of the following must be true:
      2.3.2 The {final} of the {base type definition} must not contain restriction. 

Then the dates type in your example doesn't have a {final} which includes
the value 'list' or 'restriction'.

 ><xs:simpleType name="dates">
 >  <xs:list itemType="xs:date" />
 ></xs:simpleType>
 >
 ><xs:simpleType name="fiveToTenDates">
 >  <xs:restriction base="dates">
 >    <xs:minLength value="5" />
 >    <xs:maxLength value="10" />
 >  </xs:restriction>
 ></xs:simpleType>

Such derivation is not only 'derivation by list' but also 'derivation by restriction' ?

-----
 KAZUMI Saito  FUJITSU Ltd.

Received on Wednesday, 14 November 2001 21:31:28 UTC